Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 191.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8081/0.8081, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.95 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.5802, allocations: 80.2 MB / 0.5795 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003674/0.5839, allocations: 1.941 MB / 0.5814 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1898/0.7737, allocations: 153.1 MB / 0.7309 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.774, allocations: 4 kB / 0.7309 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.7742, allocations: 15.86 kB / 0.731 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.7745, allocations: 63.53 kB / 0.731 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.7751, allocations: 230.6 kB / 0.7312 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.7753, allocations: 239.3 kB / 0.7315 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.7755, allocations: 67.48 kB / 0.7315 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.7773, allocations: 229.2 kB / 0.7318 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.7775, allocations: 87.66 kB / 0.7318 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.7775, allocations: 8 kB / 0.7318 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.7778, allocations: 179.7 kB / 0.732 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.7779, allocations: 35.84 kB / 0.732 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.778, allocations: 87.56 kB / 0.7321 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.7783, allocations: 271.2 kB / 0.7324 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7784, allocations: 4 kB / 0.7324 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7784, allocations: 0 / 0.7324 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7784, allocations: 0 / 0.7324 GB, free: 4.648 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009031/0.7793, allocations: 0.508 MB / 0.7329 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.7793, allocations: 12.02 kB / 0.7329 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.7794, allocations: 50.55 kB / 0.7329 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.7803, allocations: 83.64 kB / 0.733 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.7805, allocations: 226.7 kB / 0.7332 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.7806, allocations: 41.97 kB / 0.7333 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.7807, allocations: 16 kB / 0.7333 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.7812, allocations: 267.2 kB / 0.7336 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.7812, allocations: 0 / 0.7336 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.7813, allocations: 12 kB / 0.7336 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.7813, allocations: 4 kB / 0.7336 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.7817, allocations: 171.7 kB / 0.7337 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.7833, allocations: 1.165 MB / 0.7349 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.7841, allocations: 206.7 kB / 0.7351 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.7843, allocations: 68.81 kB / 0.7351 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.7844, allocations: 15.86 kB / 0.7351 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.7844, allocations: 30.56 kB / 0.7352 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.7844, allocations: 0 / 0.7352 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002674/0.7871, allocations: 0.6295 MB / 0.7358 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.7871, allocations: 55.39 kB / 0.7358 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.7874, allocations: 202.3 kB / 0.736 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.7874, allocations: 25.7 kB / 0.7361 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.7875, allocations: 131.6 kB / 0.7362 GB, free: 464 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.7875, allocations: 47.3 kB / 0.7362 GB, free: 416 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.511e-05/0.7876, allocations: 45.69 kB / 0.7363 GB, free: 364 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.7877, allocations: 334.8 kB / 0.7366 GB, free: 20 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.7879, allocations: 67.95 kB / 0.7367 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.7882, allocations: 131.6 kB / 0.7368 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.7886, allocations: 205.5 kB / 0.737 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7886, allocations: 4 kB / 0.737 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001428/0.7901, allocations: 378.6 kB / 0.7373 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7901, allocations: 4 kB / 0.7374 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.7901, allocations: 4 kB / 0.7374 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.7912, allocations: 161.8 kB / 0.7375 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.7914, allocations: 31.97 kB / 0.7375 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.7952, allocations: 3.043 MB / 0.7405 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.7956, allocations: 31.73 kB / 0.7405 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.7956, allocations: 11.98 kB / 0.7406 GB, free: 11.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.7958, allocations: 129.7 kB / 0.7407 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.7958, allocations: 15.91 kB / 0.7407 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.7972, allocations: 369.9 kB / 0.741 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7972, allocations: 4 kB / 0.7411 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.7972, allocations: 0 / 0.7411 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7972, allocations: 7.922 kB / 0.7411 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.7975, allocations: 269.5 kB / 0.7413 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7975, allocations: 0 / 0.7413 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.7976, allocations: 19.98 kB / 0.7413 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009413/0.7986, allocations: 169.4 kB / 0.7415 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.7986, allocations: 4 kB / 0.7415 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.8019, allocations: 3.072 MB / 0.7445 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8019, allocations: 0 / 0.7445 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.8032, allocations: 434.5 kB / 0.7449 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.8033, allocations: 108.9 kB / 0.745 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.8033, allocations: 7.938 kB / 0.745 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.8036, allocations: 19.92 kB / 0.745 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.8037, allocations: 19.97 kB / 0.7451 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.8037, allocations: 4 kB / 0.7451 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001594/0.8039, allocations: 147.2 kB / 0.7452 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8039, allocations: 0 / 0.7452 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004062/0.8043, allocations: 75.84 kB / 0.7453 GB, free: 6.387 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001558/0.8059, allocations: 0.9713 MB / 0.7462 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009857/0.8069, allocations: 437.5 kB / 0.7466 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8069, allocations: 0 / 0.7466 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.8075, allocations: 359.1 kB / 0.747 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.8079, allocations: 56.03 kB / 0.747 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.8133, allocations: 2.566 MB / 0.7495 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.8138, allocations: 0.7323 MB / 0.7503 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.8141, allocations: 33.94 kB / 0.7503 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.8142, allocations: 51.41 kB / 0.7503 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.8142, allocations: 7.938 kB / 0.7504 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.8343, allocations: 6.727 MB / 0.7569 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.8346, allocations: 233.7 kB / 0.7571 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.938, allocations: 3.062 kB / 0.7571 GB, free: 10.23 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)