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.009324/0.009324, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002482/0.002482, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.94 kB / 0.5809 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1742, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003461/0.1777, allocations: 1.869 MB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1798/0.3576, allocations: 155.4 MB / 0.8128 GB, free: 88 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.3579, allocations: 4 kB / 0.8128 GB, free: 84 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.3582, allocations: 23.73 kB / 0.8128 GB, free: 60 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.4789/0.837, allocations: 64.11 kB / 0.8129 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009737/0.838, allocations: 263.7 kB / 0.8131 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.8385, allocations: 263.1 kB / 0.8134 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.8388, allocations: 67.45 kB / 0.8134 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.8401, allocations: 248.9 kB / 0.8137 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.8403, allocations: 95.16 kB / 0.8138 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.8403, allocations: 14.16 kB / 0.8138 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.8407, allocations: 179.4 kB / 0.8139 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.8408, allocations: 45.03 kB / 0.814 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.8409, allocations: 88.38 kB / 0.8141 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.8414, allocations: 279.1 kB / 0.8143 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8414, allocations: 0.7031 kB / 0.8143 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8414, allocations: 3.344 kB / 0.8143 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8414, allocations: 1.156 kB / 0.8143 GB, free: 2.922 MB / 0.6387 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.0009291/0.8424, allocations: 0.5031 MB / 0.8148 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8424, allocations: 9.875 kB / 0.8148 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.8425, allocations: 50.19 kB / 0.8149 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.8434, allocations: 85.94 kB / 0.815 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.8436, allocations: 223.2 kB / 0.8152 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.8437, allocations: 42.73 kB / 0.8152 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.8438, allocations: 19.75 kB / 0.8153 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.8443, allocations: 265.7 kB / 0.8155 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.8443, allocations: 2.766 kB / 0.8155 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.8444, allocations: 9.5 kB / 0.8155 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.8444, allocations: 8.875 kB / 0.8155 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.8449, allocations: 166.2 kB / 0.8157 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.8465, allocations: 1.183 MB / 0.8168 GB, free: 17.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.8473, allocations: 207.7 kB / 0.817 GB, free: 17.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.8475, allocations: 69.42 kB / 0.8171 GB, free: 17.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.8476, allocations: 1.375 kB / 0.8171 GB, free: 17.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.8476, allocations: 41.03 kB / 0.8171 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.8476, allocations: 0.9688 kB / 0.8171 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002809/0.8504, allocations: 0.6226 MB / 0.8178 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.8505, allocations: 54.78 kB / 0.8178 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.8507, allocations: 194.6 kB / 0.818 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.8507, allocations: 29.8 kB / 0.818 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.8508, allocations: 144.3 kB / 0.8182 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.8509, allocations: 39.84 kB / 0.8182 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.851, allocations: 45.64 kB / 0.8182 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8511, allocations: 327.5 kB / 0.8185 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.8513, allocations: 68.36 kB / 0.8186 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.8516, allocations: 137.8 kB / 0.8187 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.8521, allocations: 203 kB / 0.8189 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.8521, allocations: 4.5 kB / 0.8189 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001607/0.8537, allocations: 368.1 kB / 0.8193 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8537, allocations: 6.828 kB / 0.8193 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.8538, allocations: 2.875 kB / 0.8193 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.855, allocations: 164.1 kB / 0.8195 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.8552, allocations: 39.59 kB / 0.8195 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/0.8597, allocations: 3.25 MB / 0.8227 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.8602, allocations: 31.33 kB / 0.8227 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.8602, allocations: 9.297 kB / 0.8227 GB, free: 13.3 MB / 0.6544 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.0001774/0.8604, allocations: 137.2 kB / 0.8228 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.8605, allocations: 16.72 kB / 0.8229 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.862, allocations: 373 kB / 0.8232 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.862, allocations: 2.094 kB / 0.8232 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.862, allocations: 2.891 kB / 0.8232 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.862, allocations: 4.594 kB / 0.8232 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.8624, allocations: 276.4 kB / 0.8235 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8624, allocations: 1.516 kB / 0.8235 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.8625, allocations: 20.47 kB / 0.8235 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008609/0.8634, allocations: 146.1 kB / 0.8236 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8634, allocations: 3.859 kB / 0.8237 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.8672, allocations: 3.296 MB / 0.8269 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8672, allocations: 3.938 kB / 0.8269 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.8685, allocations: 432.6 kB / 0.8273 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.8687, allocations: 104.4 kB / 0.8274 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.8687, allocations: 6.25 kB / 0.8274 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.869, allocations: 11.88 kB / 0.8274 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.8691, allocations: 19.41 kB / 0.8274 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.8691, allocations: 8.609 kB / 0.8274 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000194/0.8693, allocations: 148.9 kB / 0.8276 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8693, allocations: 1.203 kB / 0.8276 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004733/0.8698, allocations: 71.53 kB / 0.8276 GB, free: 9.789 MB / 0.6544 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.001711/0.8715, allocations: 0.9763 MB / 0.8286 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.8727, allocations: 446.8 kB / 0.829 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8727, allocations: 2 kB / 0.829 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007077/0.8734, allocations: 353.1 kB / 0.8294 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.8739, allocations: 65.88 kB / 0.8294 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.8795, allocations: 2.505 MB / 0.8319 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.8799, allocations: 0.7304 MB / 0.8326 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.8801, allocations: 34.44 kB / 0.8326 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.8802, allocations: 60.34 kB / 0.8327 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.8802, allocations: 0 / 0.8327 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.9119, allocations: 7.441 MB / 0.8399 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.66, allocations: 17.25 kB / 0.84 GB, free: 6.004 MB / 0.6544 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)