Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_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.0007591/0.0007591, allocations: 90.75 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.0008645/0.0008646, 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.387/1.387, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.017/1.017, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 11.98 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 83.41 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001316/0.1872, allocations: 0.994 MB / 0.5985 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4508/0.6381, allocations: 119.6 MB / 0.7153 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.6381, allocations: 0 / 0.7153 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.6382, allocations: 4.734 kB / 0.7153 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.6382, allocations: 2.062 kB / 0.7153 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.6386, allocations: 44.64 kB / 0.7154 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.945e-05/0.6386, allocations: 23.86 kB / 0.7154 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.6387, allocations: 5.609 kB / 0.7154 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.6387, allocations: 10.61 kB / 0.7154 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.6388, allocations: 14.16 kB / 0.7154 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.6388, allocations: 1.031 kB / 0.7154 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-05/0.6389, allocations: 9.609 kB / 0.7154 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.6389, allocations: 5.359 kB / 0.7154 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.639, allocations: 28.11 kB / 0.7154 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.595e-05/0.639, allocations: 15.92 kB / 0.7155 GB, free: 9.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.639, allocations: 0 / 0.7155 GB, free: 9.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6391, allocations: 1.25 kB / 0.7155 GB, free: 9.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.6391, allocations: 0 / 0.7155 GB, free: 9.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003999/0.6395, allocations: 328.3 kB / 0.7158 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6395, allocations: 14.06 kB / 0.7158 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.6396, allocations: 35.08 kB / 0.7158 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.6396, allocations: 6.125 kB / 0.7158 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.6397, allocations: 161.5 kB / 0.716 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.6398, allocations: 31.61 kB / 0.716 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.6398, allocations: 2.312 kB / 0.716 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.6399, allocations: 39.53 kB / 0.7161 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.64, allocations: 4 kB / 0.7161 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.64, allocations: 0 / 0.7161 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.64, allocations: 1.344 kB / 0.7161 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.6401, allocations: 11.94 kB / 0.7161 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.6402, allocations: 162.3 kB / 0.7162 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.046e-05/0.6403, allocations: 34.19 kB / 0.7163 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.6404, allocations: 20.72 kB / 0.7163 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.6406, allocations: 88.03 kB / 0.7164 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.6406, allocations: 32.38 kB / 0.7164 GB, free: 8.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.6406, allocations: 6.047 kB / 0.7164 GB, free: 8.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002968/0.6409, allocations: 58.64 kB / 0.7165 GB, free: 8.414 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.6409, allocations: 52.11 kB / 0.7165 GB, free: 8.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.641, allocations: 103.5 kB / 0.7166 GB, free: 8.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.641, allocations: 25.7 kB / 0.7166 GB, free: 8.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.6411, allocations: 81.2 kB / 0.7167 GB, free: 8.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.6411, allocations: 11.36 kB / 0.7167 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.6411, allocations: 4 kB / 0.7167 GB, free: 8.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6412, allocations: 316.7 kB / 0.717 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.93e-05/0.6413, allocations: 5.203 kB / 0.717 GB, free: 7.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.6413, allocations: 6.641 kB / 0.717 GB, free: 7.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.6414, allocations: 14.23 kB / 0.717 GB, free: 7.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6414, allocations: 1.156 kB / 0.717 GB, free: 7.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001205/0.6415, allocations: 49.12 kB / 0.7171 GB, free: 7.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6415, allocations: 8.875 kB / 0.7171 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.6415, allocations: 0 / 0.7171 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.6415, allocations: 1.031 kB / 0.7171 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.6416, allocations: 7.172 kB / 0.7171 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.6416, allocations: 0 / 0.7171 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.6417, allocations: 2.375 kB / 0.7171 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.6417, allocations: 5.312 kB / 0.7171 GB, free: 7.754 MB / 0.545 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 8.062e-05/0.6418, allocations: 115.8 kB / 0.7172 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.6418, allocations: 2.219 kB / 0.7172 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.6419, allocations: 58.03 kB / 0.7173 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6419, allocations: 1.344 kB / 0.7173 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6419, allocations: 1.031 kB / 0.7173 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.642, allocations: 0 / 0.7173 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.6421, allocations: 161 kB / 0.7174 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6421, allocations: 9.312 kB / 0.7175 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.6421, allocations: 7.656 kB / 0.7175 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.6421, allocations: 1.812 kB / 0.7175 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.6421, allocations: 0 / 0.7175 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6421, allocations: 6.812 kB / 0.7175 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6422, allocations: 0.7031 kB / 0.7175 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.6423, allocations: 70.58 kB / 0.7175 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.6424, allocations: 92.73 kB / 0.7176 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.6424, allocations: 5.438 kB / 0.7176 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.558e-05/0.6424, allocations: 1 kB / 0.7176 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.6425, allocations: 3.188 kB / 0.7176 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.6425, allocations: 1 kB / 0.7176 GB, free: 7.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.6425, allocations: 83.41 kB / 0.7177 GB, free: 7.125 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6425, allocations: 0 / 0.7177 GB, free: 7.125 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001863/0.6427, allocations: 13.44 kB / 0.7177 GB, free: 7.125 MB / 0.545 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.0004901/0.6432, allocations: 0.6264 MB / 0.7183 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.6433, allocations: 20.38 kB / 0.7184 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6433, allocations: 0 / 0.7184 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/0.6434, allocations: 13.44 kB / 0.7184 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.6436, allocations: 13.62 kB / 0.7184 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.644, allocations: 163.8 kB / 0.7185 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.6443, allocations: 0.6759 MB / 0.7192 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.31e-05/0.6444, allocations: 7.406 kB / 0.7192 GB, free: 5.656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.6444, allocations: 9.781 kB / 0.7192 GB, free: 5.648 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6444, allocations: 1.062 kB / 0.7192 GB, free: 5.648 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.6564, allocations: 1.155 MB / 0.7203 GB, free: 5.551 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.6567, allocations: 228.8 kB / 0.7206 GB, free: 5.297 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.303, allocations: 0 / 0.7206 GB, free: 5.297 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: