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.6893/0.6893, allocations: 127.4 MB / 134.9 MB, free: 3.723 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.001045/0.001045, allocations: 184.8 kB / 164.7 MB, free: 6.523 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.365/1.365, allocations: 205.2 MB / 399.5 MB, free: 5.938 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.0009249/0.0009251, allocations: 89.34 kB / 476.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.724e-05, allocations: 4 kB / 0.5467 GB, free: 60.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.14, allocations: 76.77 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5006/0.6407, allocations: 129.3 MB / 0.7479 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.6409, allocations: 77.77 kB / 0.748 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005221/0.6461, allocations: 2.152 MB / 0.7501 GB, free: 80 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6462, allocations: 4 kB / 0.7501 GB, free: 76 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.6462, allocations: 0.75 kB / 0.7501 GB, free: 76 kB / 0.4948 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.0004351/0.6466, allocations: 369.8 kB / 0.7505 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.6467, allocations: 8.031 kB / 0.7505 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.6467, allocations: 12.69 kB / 0.7505 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.6468, allocations: 173.7 kB / 0.7507 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6469, allocations: 4 kB / 0.7507 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.6469, allocations: 0 / 0.7507 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.587e-05/0.647, allocations: 18.56 kB / 0.7507 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.686e-05/0.6471, allocations: 52.89 kB / 0.7507 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.6471, allocations: 0 / 0.7507 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.6471, allocations: 0 / 0.7507 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6471, allocations: 0 / 0.7507 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.6474, allocations: 264.8 kB / 0.751 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.6475, allocations: 29.14 kB / 0.751 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.6475, allocations: 16.19 kB / 0.751 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.6477, allocations: 89.19 kB / 0.7511 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6477, allocations: 45 kB / 0.7512 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.6477, allocations: 0 / 0.7512 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.6479, allocations: 56.05 kB / 0.7512 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.648, allocations: 51.41 kB / 0.7513 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/0.6481, allocations: 100.2 kB / 0.7514 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.6481, allocations: 25.7 kB / 0.7514 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.6481, allocations: 99.41 kB / 0.7515 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.6482, allocations: 3.906 kB / 0.7515 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.6482, allocations: 0 / 0.7515 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6483, allocations: 318.4 kB / 0.7518 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.6483, allocations: 11.06 kB / 0.7518 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.6483, allocations: 11.48 kB / 0.7518 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/0.6484, allocations: 6.125 kB / 0.7518 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6484, allocations: 0 / 0.7518 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001034/0.6485, allocations: 57.03 kB / 0.7519 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6485, allocations: 11.95 kB / 0.7519 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6485, allocations: 0.5469 kB / 0.7519 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.6486, allocations: 0 / 0.7519 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.6487, allocations: 27.97 kB / 0.7519 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.6487, allocations: 0 / 0.7519 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.6488, allocations: 16.36 kB / 0.7519 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.6488, allocations: 3.938 kB / 0.7519 GB, free: 14.1 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 () * 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.377e-05/0.6489, allocations: 108.9 kB / 0.752 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001093/0.649, allocations: 60.75 kB / 0.7521 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.649, allocations: 11.8 kB / 0.7521 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.6492, allocations: 64.27 kB / 0.7522 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6492, allocations: 0 / 0.7522 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6492, allocations: 0 / 0.7522 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6492, allocations: 0 / 0.7522 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.6494, allocations: 149.7 kB / 0.7523 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6494, allocations: 3.938 kB / 0.7523 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.6495, allocations: 27.55 kB / 0.7523 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6495, allocations: 3.953 kB / 0.7523 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.6495, allocations: 0 / 0.7523 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6495, allocations: 4 kB / 0.7523 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6495, allocations: 0 / 0.7523 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.6497, allocations: 145.1 kB / 0.7525 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.6497, allocations: 85 kB / 0.7526 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.6497, allocations: 8.828 kB / 0.7526 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6499, allocations: 15.98 kB / 0.7526 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.6499, allocations: 7.984 kB / 0.7526 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.6499, allocations: 3.5 kB / 0.7526 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.967e-05/0.65, allocations: 86.53 kB / 0.7527 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.65, allocations: 0 / 0.7527 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002094/0.6502, allocations: 15.94 kB / 0.7527 GB, free: 13.26 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 () * 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.0004818/0.6507, allocations: 0.7264 MB / 0.7534 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.6508, allocations: 26.67 kB / 0.7534 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.6508, allocations: 0 / 0.7534 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/0.6508, allocations: 14.45 kB / 0.7534 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.651, allocations: 15.61 kB / 0.7534 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.6513, allocations: 109.6 kB / 0.7536 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.6516, allocations: 0.6884 MB / 0.7542 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.6516, allocations: 4 kB / 0.7542 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.6517, allocations: 13.75 kB / 0.7542 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.6517, allocations: 0 / 0.7542 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.6704, allocations: 1.542 MB / 0.7557 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.6707, allocations: 154.3 kB / 0.7559 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.192, allocations: 0 / 0.7559 GB, free: 9.891 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)