Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.SteamSaturationConsistencyCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",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.001294/0.001294, allocations: 108 kB / 15.61 MB, free: 152 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.001339/0.001339, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8504/0.8504, allocations: 143 MB / 433.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 63.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1151, allocations: 82.03 MB / 0.5944 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.3116/0.4268, allocations: 135.6 MB / 0.7268 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007955/0.4348, allocations: 7.91 MB / 0.7345 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.4348, allocations: 0 / 0.7345 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.435, allocations: 20 kB / 0.7345 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.4351, allocations: 26.69 kB / 0.7346 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.4386, allocations: 1.469 MB / 0.736 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.4387, allocations: 67.52 kB / 0.7361 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.4387, allocations: 9.25 kB / 0.7361 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.4388, allocations: 47.44 kB / 0.7361 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.4389, allocations: 43.48 kB / 0.7361 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.4389, allocations: 2.75 kB / 0.7361 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.4426, allocations: 2.642 MB / 0.7387 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.4427, allocations: 19.5 kB / 0.7387 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.4427, allocations: 33.08 kB / 0.7388 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.4443, allocations: 1.376 MB / 0.7401 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4443, allocations: 0 / 0.7401 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4443, allocations: 4 kB / 0.7401 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4443, allocations: 0 / 0.7401 GB, free: 6.727 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008424/0.4452, allocations: 0.4917 MB / 0.7406 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.4452, allocations: 10.09 kB / 0.7406 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.4453, allocations: 41.27 kB / 0.7407 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.4456, allocations: 17.45 kB / 0.7407 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.966e-05/0.4457, allocations: 178.8 kB / 0.7408 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.4457, allocations: 30.92 kB / 0.7409 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.4458, allocations: 14.75 kB / 0.7409 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.446, allocations: 112.2 kB / 0.741 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4461, allocations: 6.703 kB / 0.741 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4461, allocations: 4 kB / 0.741 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4461, allocations: 2.375 kB / 0.741 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.4463, allocations: 116 kB / 0.7411 GB, free: 5.844 MB / 0.5606 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.0003723/0.4467, allocations: 375.9 kB / 0.7415 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.4469, allocations: 125 kB / 0.7416 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.447, allocations: 53.98 kB / 0.7416 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.4571, allocations: 4.209 MB / 0.7458 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4572, allocations: 38.5 kB / 0.7458 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.4572, allocations: 0 / 0.7458 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0003953/0.4576, allocations: 164 kB / 0.746 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.4576, allocations: 55.39 kB / 0.746 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.848e-05/0.4577, allocations: 97.86 kB / 0.7461 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4577, allocations: 29.7 kB / 0.7461 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.4577, allocations: 88.05 kB / 0.7462 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.4578, allocations: 43.52 kB / 0.7463 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.4578, allocations: 33.7 kB / 0.7463 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.4579, allocations: 322.8 kB / 0.7466 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.4579, allocations: 23.98 kB / 0.7466 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.458, allocations: 28.55 kB / 0.7466 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.4581, allocations: 74.53 kB / 0.7467 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4581, allocations: 0.5625 kB / 0.7467 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001533/0.4583, allocations: 105.6 kB / 0.7468 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.4583, allocations: 4 kB / 0.7468 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.4583, allocations: 0 / 0.7468 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4583, allocations: 8.688 kB / 0.7468 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4584, allocations: 19.98 kB / 0.7468 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4584, allocations: 5.156 kB / 0.7468 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.4585, allocations: 7.938 kB / 0.7469 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4585, allocations: 4 kB / 0.7469 GB, free: 0.6094 MB / 0.5606 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.4586, allocations: 117.8 kB / 0.747 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.4586, allocations: 7.906 kB / 0.747 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.459, allocations: 365.4 kB / 0.7473 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.459, allocations: 11.97 kB / 0.7473 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.459, allocations: 4 kB / 0.7473 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.459, allocations: 7.875 kB / 0.7474 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.4592, allocations: 289.6 kB / 0.7476 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4593, allocations: 3.938 kB / 0.7476 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.4594, allocations: 19.98 kB / 0.7476 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4594, allocations: 4 kB / 0.7477 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4594, allocations: 8 kB / 0.7477 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4594, allocations: 0 / 0.7477 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4594, allocations: 1.875 kB / 0.7477 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.4597, allocations: 327.1 kB / 0.748 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.4597, allocations: 108.9 kB / 0.7481 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4598, allocations: 0 / 0.7481 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4599, allocations: 12 kB / 0.7481 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.4599, allocations: 7.984 kB / 0.7481 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4599, allocations: 15.92 kB / 0.7481 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.46, allocations: 79.28 kB / 0.7482 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.46, allocations: 0 / 0.7482 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006035/0.4606, allocations: 295.9 kB / 0.7485 GB, free: 14.87 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.4621, allocations: 1.152 MB / 0.7496 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.4623, allocations: 137.1 kB / 0.7497 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4623, allocations: 0 / 0.7497 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4624, allocations: 109.7 kB / 0.7498 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.4627, allocations: 27.53 kB / 0.7499 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.4635, allocations: 429.8 kB / 0.7503 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.4637, allocations: 0.7222 MB / 0.751 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.722e-05/0.4638, allocations: 24.55 kB / 0.751 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.4639, allocations: 47.34 kB / 0.751 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.4639, allocations: 0 / 0.751 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.022/1.486, allocations: 11.65 MB / 0.7624 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/9.606, allocations: 9.172 kB / 0.7624 GB, free: 0.6367 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)