Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties",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.001322/0.001322, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001511/0.001511, allocations: 177.3 kB / 15.95 MB, free: 216 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.366/1.366, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.047/1.047, allocations: 143.3 MB / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005385/0.0005386, allocations: 12 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2047, allocations: 83.4 MB / 0.5973 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirProperties): time 0.4492/0.654, allocations: 125.9 MB / 0.7203 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005972/0.66, allocations: 3.031 MB / 0.7232 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.6603, allocations: 1.125 kB / 0.7232 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.6607, allocations: 47.23 kB / 0.7233 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.6612, allocations: 95.55 kB / 0.7234 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.6643, allocations: 0.6707 MB / 0.724 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.6648, allocations: 187.9 kB / 0.7242 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.121e-05/0.6649, allocations: 18.22 kB / 0.7242 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.6654, allocations: 158.4 kB / 0.7244 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.6657, allocations: 98.89 kB / 0.7245 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.6657, allocations: 8.781 kB / 0.7245 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.6682, allocations: 0.6857 MB / 0.7251 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.6683, allocations: 59.47 kB / 0.7252 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.6684, allocations: 68.42 kB / 0.7253 GB, free: 3.562 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009581/0.6694, allocations: 384 kB / 0.7256 GB, free: 3.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6694, allocations: 0 / 0.7256 GB, free: 3.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.066e-06/0.6694, allocations: 0.9062 kB / 0.7256 GB, free: 3.469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.6694, allocations: 0 / 0.7256 GB, free: 3.469 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001534/0.671, allocations: 0.5408 MB / 0.7262 GB, free: 3.012 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.671, allocations: 13.08 kB / 0.7262 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.6712, allocations: 60.52 kB / 0.7262 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.6731, allocations: 135.3 kB / 0.7264 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.6736, allocations: 219.2 kB / 0.7266 GB, free: 2.711 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.6736, allocations: 15.16 kB / 0.7266 GB, free: 2.703 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.6737, allocations: 25.28 kB / 0.7266 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.6746, allocations: 328.1 kB / 0.7269 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.6746, allocations: 4.984 kB / 0.7269 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.6747, allocations: 11.16 kB / 0.7269 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/0.6748, allocations: 19.56 kB / 0.7269 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/0.6757, allocations: 319.6 kB / 0.7273 GB, free: 2.449 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.678, allocations: 1.11 MB / 0.7283 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/0.6787, allocations: 196.2 kB / 0.7285 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/0.6794, allocations: 453.8 kB / 0.729 GB, free: 1.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.6794, allocations: 38.39 kB / 0.729 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.993e-06/0.6794, allocations: 0 / 0.729 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0007003/0.6801, allocations: 346 kB / 0.7293 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.6802, allocations: 59.12 kB / 0.7294 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.6804, allocations: 207.1 kB / 0.7296 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.6805, allocations: 32.89 kB / 0.7296 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.6806, allocations: 147.3 kB / 0.7297 GB, free: 444 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.6807, allocations: 66.42 kB / 0.7298 GB, free: 392 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.6807, allocations: 6.375 kB / 0.7298 GB, free: 388 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.6809, allocations: 328 kB / 0.7301 GB, free: 60 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.6811, allocations: 70.58 kB / 0.7302 GB, free: 48 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.6815, allocations: 154.8 kB / 0.7303 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.6817, allocations: 96.62 kB / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6818, allocations: 0 / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007566/0.6825, allocations: 280 kB / 0.7307 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6826, allocations: 11.5 kB / 0.7307 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6826, allocations: 4.625 kB / 0.7307 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.6826, allocations: 2.688 kB / 0.7307 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.683, allocations: 62.05 kB / 0.7308 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.683, allocations: 8.406 kB / 0.7308 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.6833, allocations: 31.03 kB / 0.7308 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.6834, allocations: 15.33 kB / 0.7308 GB, free: 15.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001915/0.6836, allocations: 143.6 kB / 0.731 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.6838, allocations: 31.86 kB / 0.731 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.6845, allocations: 262.4 kB / 0.7313 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6846, allocations: 3.625 kB / 0.7313 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.6846, allocations: 0 / 0.7313 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.6846, allocations: 6.797 kB / 0.7313 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.6857, allocations: 0.5902 MB / 0.7318 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6857, allocations: 0.6094 kB / 0.7318 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.686, allocations: 31.08 kB / 0.7319 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.686, allocations: 2.594 kB / 0.7319 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.686, allocations: 9.188 kB / 0.7319 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.686, allocations: 2.016 kB / 0.7319 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6861, allocations: 1.938 kB / 0.7319 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.6868, allocations: 378.6 kB / 0.7322 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.687, allocations: 124.8 kB / 0.7324 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.6871, allocations: 6.031 kB / 0.7324 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.6875, allocations: 22.27 kB / 0.7324 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.6876, allocations: 10.95 kB / 0.7324 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.6876, allocations: 11.73 kB / 0.7324 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002142/0.6879, allocations: 149.2 kB / 0.7326 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6879, allocations: 1.375 kB / 0.7326 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007971/0.6887, allocations: 117 kB / 0.7327 GB, free: 14.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00158/0.6903, allocations: 1.139 MB / 0.7338 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.6909, allocations: 203.4 kB / 0.734 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6909, allocations: 1.375 kB / 0.734 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.6911, allocations: 103.9 kB / 0.7341 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.692, allocations: 92.33 kB / 0.7342 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.6957, allocations: 3.145 MB / 0.7372 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.6961, allocations: 0.743 MB / 0.738 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003582/0.6965, allocations: 62.09 kB / 0.738 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.6966, allocations: 56.45 kB / 0.7381 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.6966, allocations: 0 / 0.7381 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.7241, allocations: 7.203 MB / 0.7451 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/0.7244, allocations: 179.1 kB / 0.7453 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.639, allocations: 3.938 kB / 0.7453 GB, free: 3.922 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: