Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7774/0.7774, allocations: 128.7 MB / 143.7 MB, free: 2.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 180.4 kB / 173.7 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008453/0.0008452, allocations: 90.06 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003512, allocations: 8.969 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5163/0.6643, allocations: 129.8 MB / 0.7621 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.6646, allocations: 79.81 kB / 0.7622 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005849/0.6704, allocations: 2.177 MB / 0.7643 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.336e-06/0.6705, allocations: 0.7188 kB / 0.7643 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.6705, allocations: 1.094 kB / 0.7643 GB, free: 29.8 MB / 0.5105 GB 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.0004486/0.6709, allocations: 388.1 kB / 0.7647 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.671, allocations: 9.344 kB / 0.7647 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.671, allocations: 36.75 kB / 0.7648 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.6711, allocations: 6.656 kB / 0.7648 GB, free: 29.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.6712, allocations: 163.9 kB / 0.7649 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.6712, allocations: 5.312 kB / 0.7649 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.6712, allocations: 6.219 kB / 0.7649 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.6715, allocations: 83.06 kB / 0.765 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6715, allocations: 7.891 kB / 0.765 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.6715, allocations: 0 / 0.765 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6715, allocations: 4 kB / 0.765 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.6718, allocations: 98.41 kB / 0.7651 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.6722, allocations: 283.8 kB / 0.7654 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.6724, allocations: 67.88 kB / 0.7654 GB, free: 28.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.6725, allocations: 92.38 kB / 0.7655 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.6726, allocations: 35.92 kB / 0.7656 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6726, allocations: 0 / 0.7656 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005324/0.6731, allocations: 160.6 kB / 0.7657 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.6731, allocations: 51.41 kB / 0.7658 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.6732, allocations: 113.2 kB / 0.7659 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.6733, allocations: 25.7 kB / 0.7659 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.6733, allocations: 92.72 kB / 0.766 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.6733, allocations: 11.39 kB / 0.766 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.6733, allocations: 0 / 0.766 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.6734, allocations: 320.2 kB / 0.7663 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.6736, allocations: 41.88 kB / 0.7663 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.6737, allocations: 48 kB / 0.7664 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.6738, allocations: 44 kB / 0.7664 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6739, allocations: 0 / 0.7664 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00033/0.6742, allocations: 132.1 kB / 0.7666 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6742, allocations: 7.875 kB / 0.7666 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6742, allocations: 0 / 0.7666 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6743, allocations: 0.6094 kB / 0.7666 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.6744, allocations: 20.86 kB / 0.7666 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6744, allocations: 0.75 kB / 0.7666 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.789e-05/0.6745, allocations: 20.53 kB / 0.7666 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.6745, allocations: 3.906 kB / 0.7666 GB, free: 28 MB / 0.5105 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 5.619e-05/0.6746, allocations: 110.4 kB / 0.7667 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.6746, allocations: 8.438 kB / 0.7667 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.675, allocations: 135.8 kB / 0.7669 GB, free: 27.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.675, allocations: 0 / 0.7669 GB, free: 27.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.675, allocations: 0.6094 kB / 0.7669 GB, free: 27.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.675, allocations: 0.5625 kB / 0.7669 GB, free: 27.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.6751, allocations: 178.2 kB / 0.767 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6752, allocations: 0.7031 kB / 0.767 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6753, allocations: 29.34 kB / 0.7671 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6753, allocations: 0.6562 kB / 0.7671 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.6753, allocations: 3.953 kB / 0.7671 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6753, allocations: 3.984 kB / 0.7671 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6753, allocations: 0.75 kB / 0.7671 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.6756, allocations: 218.7 kB / 0.7673 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.6757, allocations: 89.55 kB / 0.7674 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.6757, allocations: 4.594 kB / 0.7674 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6758, allocations: 21.22 kB / 0.7674 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.6759, allocations: 2.484 kB / 0.7674 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.6759, allocations: 0.6562 kB / 0.7674 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.6759, allocations: 100.1 kB / 0.7675 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6759, allocations: 0 / 0.7675 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002232/0.6761, allocations: 16.55 kB / 0.7675 GB, free: 27.3 MB / 0.5105 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.0006514/0.6768, allocations: 0.7838 MB / 0.7683 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.6772, allocations: 93.62 kB / 0.7684 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6772, allocations: 0 / 0.7684 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.6773, allocations: 44.38 kB / 0.7684 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.6775, allocations: 23.92 kB / 0.7684 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6786, allocations: 0.5736 MB / 0.769 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.6787, allocations: 0.6877 MB / 0.7696 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.6787, allocations: 8.531 kB / 0.7697 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.6788, allocations: 12.09 kB / 0.7697 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.6788, allocations: 3.906 kB / 0.7697 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.692, allocations: 2.265 MB / 0.7719 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.6921, allocations: 196.8 kB / 0.7721 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.239, allocations: 2.25 kB / 0.7721 GB, free: 25.09 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)