Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001073/0.001073, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001373/0.001373, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7876/0.7876, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8.219 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4831, allocations: 81.58 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00158/0.4847, allocations: 1.33 MB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1688/0.6535, allocations: 136 MB / 0.7172 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.6537, allocations: 4 kB / 0.7172 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.6539, allocations: 11.86 kB / 0.7173 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.6542, allocations: 39.7 kB / 0.7173 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.6548, allocations: 151.5 kB / 0.7174 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.655, allocations: 143.5 kB / 0.7176 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.6552, allocations: 19.92 kB / 0.7176 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.6557, allocations: 139.7 kB / 0.7177 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.6558, allocations: 51.81 kB / 0.7178 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.6559, allocations: 4 kB / 0.7178 GB, free: 6.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.6562, allocations: 159.7 kB / 0.7179 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.6563, allocations: 19.97 kB / 0.718 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.6564, allocations: 41.64 kB / 0.718 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.6567, allocations: 134 kB / 0.7181 GB, free: 5.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6567, allocations: 0 / 0.7181 GB, free: 5.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6567, allocations: 0 / 0.7181 GB, free: 5.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.6567, allocations: 0 / 0.7181 GB, free: 5.953 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009968/0.6577, allocations: 458.8 kB / 0.7186 GB, free: 5.457 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6577, allocations: 12.03 kB / 0.7186 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.876e-05/0.6578, allocations: 38.5 kB / 0.7186 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.6585, allocations: 59.84 kB / 0.7187 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.6587, allocations: 194.9 kB / 0.7189 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.6588, allocations: 8 kB / 0.7189 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.6588, allocations: 4 kB / 0.7189 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.6592, allocations: 197.7 kB / 0.7191 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6593, allocations: 4 kB / 0.7191 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6593, allocations: 8 kB / 0.7191 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6593, allocations: 4 kB / 0.7191 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.6598, allocations: 163.8 kB / 0.7192 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.6611, allocations: 0.832 MB / 0.72 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.6615, allocations: 142.4 kB / 0.7202 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.6618, allocations: 96.73 kB / 0.7203 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.6618, allocations: 7.938 kB / 0.7203 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.6618, allocations: 30.56 kB / 0.7203 GB, free: 3.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.6619, allocations: 4 kB / 0.7203 GB, free: 3.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001834/0.6637, allocations: 491.3 kB / 0.7208 GB, free: 2.992 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.6637, allocations: 59.34 kB / 0.7208 GB, free: 2.922 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.6639, allocations: 135.5 kB / 0.721 GB, free: 2.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.6639, allocations: 25.7 kB / 0.721 GB, free: 2.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.664, allocations: 108 kB / 0.7211 GB, free: 2.641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.664, allocations: 31.55 kB / 0.7211 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.664, allocations: 8 kB / 0.7211 GB, free: 2.602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6642, allocations: 326.8 kB / 0.7214 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.6644, allocations: 75.94 kB / 0.7215 GB, free: 2.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.6647, allocations: 116.2 kB / 0.7216 GB, free: 2.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.6649, allocations: 80.27 kB / 0.7217 GB, free: 1.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.665, allocations: 4 kB / 0.7217 GB, free: 1.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001002/0.666, allocations: 302.1 kB / 0.722 GB, free: 1.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.666, allocations: 11.94 kB / 0.722 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.666, allocations: 128 / 0.722 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.6666, allocations: 96.67 kB / 0.7221 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.6668, allocations: 39.97 kB / 0.7221 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.6692, allocations: 1.549 MB / 0.7236 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.6694, allocations: 23.89 kB / 0.7237 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.6695, allocations: 7.984 kB / 0.7237 GB, free: 15.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.6696, allocations: 125.8 kB / 0.7238 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.6696, allocations: 7.906 kB / 0.7238 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.6706, allocations: 338.8 kB / 0.7241 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6707, allocations: 192 / 0.7241 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.6707, allocations: 0 / 0.7241 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6707, allocations: 3.984 kB / 0.7241 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.6711, allocations: 241.4 kB / 0.7244 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6711, allocations: 7.953 kB / 0.7244 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.6713, allocations: 31.97 kB / 0.7244 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.6717, allocations: 84.77 kB / 0.7245 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.6718, allocations: 11.98 kB / 0.7245 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.6737, allocations: 1.563 MB / 0.726 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6738, allocations: 0 / 0.726 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/0.6747, allocations: 402.6 kB / 0.7264 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.6748, allocations: 92.92 kB / 0.7265 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.6748, allocations: 3.984 kB / 0.7265 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.675, allocations: 15.98 kB / 0.7265 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.6751, allocations: 23.92 kB / 0.7265 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.6751, allocations: 7.984 kB / 0.7265 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.6752, allocations: 108.9 kB / 0.7266 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6752, allocations: 0 / 0.7266 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003272/0.6755, allocations: 44 kB / 0.7267 GB, free: 12.49 MB / 0.5606 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/0.6769, allocations: 0.9317 MB / 0.7276 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008306/0.6778, allocations: 322.7 kB / 0.7279 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6778, allocations: 3.938 kB / 0.7279 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.6783, allocations: 242.5 kB / 0.7281 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.6786, allocations: 38.69 kB / 0.7282 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.6809, allocations: 1.023 MB / 0.7292 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.6813, allocations: 0.7088 MB / 0.7299 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.6814, allocations: 25 kB / 0.7299 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.6815, allocations: 31.42 kB / 0.7299 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6815, allocations: 0 / 0.7299 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.6995, allocations: 4.206 MB / 0.734 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.6997, allocations: 216.4 kB / 0.7342 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.584, allocations: 64 / 0.7342 GB, free: 4.836 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) Environment - environmentSimulation: