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.00121/0.00121, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00117/0.00117, allocations: 191 kB / 16.25 MB, free: 6.641 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7262/0.7262, allocations: 132.2 MB / 422.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 68.23 kB / 0.5014 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4042, allocations: 80.2 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002533/0.4067, allocations: 1.701 MB / 0.5813 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1526/0.5594, allocations: 147.5 MB / 0.7254 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.5595, allocations: 7.938 kB / 0.7254 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.5597, allocations: 11.92 kB / 0.7254 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.56, allocations: 47.7 kB / 0.7255 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.5603, allocations: 159.5 kB / 0.7256 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.5605, allocations: 163.5 kB / 0.7258 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.5606, allocations: 26.23 kB / 0.7258 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.5623, allocations: 192.6 kB / 0.726 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.5624, allocations: 59.75 kB / 0.726 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.5624, allocations: 16 kB / 0.7261 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.5627, allocations: 171.7 kB / 0.7262 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.5627, allocations: 19.92 kB / 0.7262 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.5628, allocations: 51.72 kB / 0.7263 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.5631, allocations: 203.4 kB / 0.7265 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5631, allocations: 0 / 0.7265 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5631, allocations: 0 / 0.7265 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.5631, allocations: 0 / 0.7265 GB, free: 10.9 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008047/0.5639, allocations: 463 kB / 0.7269 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.564, allocations: 12.03 kB / 0.7269 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.564, allocations: 38.73 kB / 0.727 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005926/0.5646, allocations: 64.44 kB / 0.727 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.5648, allocations: 198.8 kB / 0.7272 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.5648, allocations: 4 kB / 0.7272 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.5648, allocations: 8 kB / 0.7272 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.5652, allocations: 183.9 kB / 0.7274 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5653, allocations: 0 / 0.7274 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.5653, allocations: 0 / 0.7274 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5653, allocations: 4 kB / 0.7274 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.5658, allocations: 159.6 kB / 0.7276 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.5668, allocations: 0.8203 MB / 0.7284 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.5672, allocations: 130.5 kB / 0.7285 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.5674, allocations: 76.8 kB / 0.7286 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.5675, allocations: 0 / 0.7286 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.5675, allocations: 38.55 kB / 0.7286 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.5675, allocations: 4 kB / 0.7286 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001856/0.5694, allocations: 455.3 kB / 0.729 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.5694, allocations: 59.34 kB / 0.7291 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.5695, allocations: 141.9 kB / 0.7292 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.5696, allocations: 29.7 kB / 0.7293 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.5696, allocations: 103.9 kB / 0.7294 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.5696, allocations: 27.56 kB / 0.7294 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.5697, allocations: 37.69 kB / 0.7294 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.5698, allocations: 314.8 kB / 0.7297 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.5701, allocations: 71.92 kB / 0.7298 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.5703, allocations: 104.2 kB / 0.7299 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.5708, allocations: 180 kB / 0.7301 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5708, allocations: 0 / 0.7301 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001017/0.5718, allocations: 278.4 kB / 0.7303 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5718, allocations: 11.94 kB / 0.7303 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5718, allocations: 128 / 0.7303 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.5724, allocations: 84.77 kB / 0.7304 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.5726, allocations: 39.89 kB / 0.7305 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.5746, allocations: 1.674 MB / 0.7321 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.5748, allocations: 23.89 kB / 0.7321 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.5748, allocations: 11.92 kB / 0.7321 GB, free: 4.641 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.5749, allocations: 117.9 kB / 0.7322 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.575, allocations: 7.906 kB / 0.7322 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.5761, allocations: 326.8 kB / 0.7326 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5761, allocations: 0 / 0.7326 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.5761, allocations: 0 / 0.7326 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5761, allocations: 0 / 0.7326 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.5763, allocations: 233.5 kB / 0.7328 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5763, allocations: 0 / 0.7328 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.5765, allocations: 31.97 kB / 0.7328 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.577, allocations: 76.89 kB / 0.7329 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.577, allocations: 11.94 kB / 0.7329 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.5787, allocations: 1.681 MB / 0.7345 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5787, allocations: 0 / 0.7345 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/0.5797, allocations: 372.1 kB / 0.7349 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.5797, allocations: 92.91 kB / 0.735 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.5798, allocations: 4 kB / 0.735 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.58, allocations: 23.98 kB / 0.735 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.5801, allocations: 11.98 kB / 0.735 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5801, allocations: 7.984 kB / 0.735 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.5802, allocations: 111.2 kB / 0.7351 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5802, allocations: 0 / 0.7351 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003033/0.5805, allocations: 44 kB / 0.7352 GB, free: 1.262 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/0.5818, allocations: 0.9223 MB / 0.7361 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008451/0.5826, allocations: 318.8 kB / 0.7364 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5826, allocations: 0 / 0.7364 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.5831, allocations: 234.5 kB / 0.7366 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.5834, allocations: 26.27 kB / 0.7366 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.587, allocations: 2.078 MB / 0.7387 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.5872, allocations: 0.7085 MB / 0.7393 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.5874, allocations: 20.98 kB / 0.7394 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.5875, allocations: 39.41 kB / 0.7394 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.5875, allocations: 0 / 0.7394 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.969/3.557, allocations: 4.446 MB / 0.7437 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/3.557, allocations: 233.8 kB / 0.744 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/5.564, allocations: 0 / 0.744 GB, free: 8.273 MB / 0.5762 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/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)