Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",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.0006814/0.0006814, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007289/0.0007289, allocations: 176.8 kB / 16.58 MB, free: 6.52 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.16/1.16, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5976/0.5976, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002592, allocations: 8 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001811/0.1257, allocations: 1.188 MB / 0.5581 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3445/0.4703, allocations: 119.6 MB / 0.6749 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.4704, allocations: 0 / 0.6749 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.4704, allocations: 3.938 kB / 0.6749 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.4705, allocations: 11.92 kB / 0.6749 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.4708, allocations: 51.8 kB / 0.675 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.4709, allocations: 51.78 kB / 0.675 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.471, allocations: 11.97 kB / 0.675 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.471, allocations: 12 kB / 0.675 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.4711, allocations: 27.84 kB / 0.6751 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4711, allocations: 0 / 0.6751 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.4711, allocations: 12 kB / 0.6751 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.4712, allocations: 11.98 kB / 0.6751 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.4712, allocations: 37.64 kB / 0.6751 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.4713, allocations: 42.2 kB / 0.6752 GB, free: 1.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4713, allocations: 0 / 0.6752 GB, free: 1.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4713, allocations: 0 / 0.6752 GB, free: 1.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.4713, allocations: 0 / 0.6752 GB, free: 1.215 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004292/0.4718, allocations: 377.1 kB / 0.6755 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.4718, allocations: 8.031 kB / 0.6755 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.4718, allocations: 34.56 kB / 0.6756 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.4719, allocations: 11.89 kB / 0.6756 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.472, allocations: 163.1 kB / 0.6757 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.472, allocations: 0 / 0.6757 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.472, allocations: 7.953 kB / 0.6757 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.4722, allocations: 85.59 kB / 0.6758 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.4723, allocations: 3.984 kB / 0.6758 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.4723, allocations: 0 / 0.6758 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4723, allocations: 7.938 kB / 0.6758 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.4725, allocations: 91.92 kB / 0.6759 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.4729, allocations: 284.7 kB / 0.6762 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.4731, allocations: 78.41 kB / 0.6763 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.4732, allocations: 48.92 kB / 0.6763 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.4734, allocations: 89.09 kB / 0.6764 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4734, allocations: 34.55 kB / 0.6764 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.4734, allocations: 0 / 0.6764 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004734/0.4739, allocations: 161.6 kB / 0.6766 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.4739, allocations: 51.41 kB / 0.6766 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.474, allocations: 124.1 kB / 0.6767 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.474, allocations: 29.7 kB / 0.6768 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.4741, allocations: 95.98 kB / 0.6769 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.4741, allocations: 3.906 kB / 0.6769 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.4741, allocations: 4 kB / 0.6769 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4742, allocations: 326.8 kB / 0.6772 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.4744, allocations: 39.97 kB / 0.6772 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4745, allocations: 43.95 kB / 0.6773 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.4746, allocations: 35.97 kB / 0.6773 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4746, allocations: 0 / 0.6773 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002747/0.4749, allocations: 129.5 kB / 0.6774 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4749, allocations: 8 kB / 0.6774 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4749, allocations: 0 / 0.6774 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.475, allocations: 0 / 0.6774 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4751, allocations: 23.97 kB / 0.6775 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4751, allocations: 0 / 0.6775 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.4752, allocations: 19.98 kB / 0.6775 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4752, allocations: 0 / 0.6775 GB, free: 14.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.4752, allocations: 122.4 kB / 0.6776 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.4753, allocations: 0 / 0.6776 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.4756, allocations: 125.8 kB / 0.6777 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4756, allocations: 4.031 kB / 0.6777 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4756, allocations: 0 / 0.6777 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.4756, allocations: 3.938 kB / 0.6777 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.4758, allocations: 177.6 kB / 0.6779 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.4758, allocations: 2.438 kB / 0.6779 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.4759, allocations: 27.98 kB / 0.6779 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4759, allocations: 3.984 kB / 0.6779 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4759, allocations: 0 / 0.6779 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4759, allocations: 0 / 0.6779 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4759, allocations: 0 / 0.6779 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.4762, allocations: 215.3 kB / 0.6781 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.4763, allocations: 96.91 kB / 0.6782 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4763, allocations: 3.984 kB / 0.6782 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.4764, allocations: 19.98 kB / 0.6782 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.4764, allocations: 3.938 kB / 0.6782 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.4764, allocations: 4 kB / 0.6782 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.4765, allocations: 91.27 kB / 0.6783 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4765, allocations: 0 / 0.6783 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002113/0.4767, allocations: 16 kB / 0.6783 GB, free: 13.61 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000609/0.4773, allocations: 0.7599 MB / 0.6791 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.4776, allocations: 87.92 kB / 0.6792 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4777, allocations: 0 / 0.6792 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.4778, allocations: 51.97 kB / 0.6792 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4781, allocations: 7.984 kB / 0.6792 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.479, allocations: 0.574 MB / 0.6798 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4792, allocations: 0.6848 MB / 0.6805 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.4793, allocations: 8.703 kB / 0.6805 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.4793, allocations: 15.38 kB / 0.6805 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4793, allocations: 4 kB / 0.6805 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.49, allocations: 1.707 MB / 0.6822 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.4901, allocations: 186.3 kB / 0.6823 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.948, allocations: 0 / 0.6823 GB, free: 9.531 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: