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.001601/0.001601, 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.001241/0.001241, allocations: 196.9 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.9705/0.9705, allocations: 143.1 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.89 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 82.04 MB / 0.5944 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.3682/0.5171, allocations: 135.6 MB / 0.7268 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008812/0.5259, allocations: 7.919 MB / 0.7345 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.526, allocations: 0 / 0.7345 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.5262, allocations: 22.92 kB / 0.7345 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.5263, allocations: 16.12 kB / 0.7346 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.5303, allocations: 1.472 MB / 0.736 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.5305, allocations: 71.62 kB / 0.7361 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.5305, allocations: 3.125 kB / 0.7361 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.5306, allocations: 53.64 kB / 0.7361 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.633e-05/0.5307, allocations: 32.84 kB / 0.7362 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.5307, allocations: 6.969 kB / 0.7362 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/0.5349, allocations: 2.646 MB / 0.7387 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.5349, allocations: 15.52 kB / 0.7388 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.535, allocations: 32.91 kB / 0.7388 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.5367, allocations: 1.378 MB / 0.7401 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5367, allocations: 2.875 kB / 0.7401 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5367, allocations: 0 / 0.7401 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.5367, allocations: 0 / 0.7401 GB, free: 6.531 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.0009041/0.5377, allocations: 0.4951 MB / 0.7406 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.5377, allocations: 9.188 kB / 0.7406 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.5378, allocations: 37.56 kB / 0.7407 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.5381, allocations: 21.44 kB / 0.7407 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.5382, allocations: 171.1 kB / 0.7408 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.5383, allocations: 34.48 kB / 0.7409 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.5383, allocations: 9.562 kB / 0.7409 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.5387, allocations: 124.2 kB / 0.741 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5387, allocations: 2.656 kB / 0.741 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5387, allocations: 4 kB / 0.741 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5387, allocations: 0 / 0.741 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.539, allocations: 118.2 kB / 0.7411 GB, free: 5.648 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.0004445/0.5395, allocations: 381.7 kB / 0.7415 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.5398, allocations: 129.2 kB / 0.7416 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.5399, allocations: 61.33 kB / 0.7417 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.5518, allocations: 4.2 MB / 0.7458 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5519, allocations: 34.56 kB / 0.7458 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.5519, allocations: 0 / 0.7458 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005424/0.5525, allocations: 167.9 kB / 0.746 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.5525, allocations: 59.34 kB / 0.746 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/0.5526, allocations: 93.86 kB / 0.7461 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5526, allocations: 29.7 kB / 0.7461 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.5527, allocations: 92.03 kB / 0.7462 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.5527, allocations: 43.53 kB / 0.7463 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.5528, allocations: 21.72 kB / 0.7463 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.5529, allocations: 322.8 kB / 0.7466 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.5529, allocations: 27.98 kB / 0.7466 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.553, allocations: 27.98 kB / 0.7467 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.5531, allocations: 70.98 kB / 0.7467 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5531, allocations: 0 / 0.7467 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001762/0.5533, allocations: 113.5 kB / 0.7468 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5533, allocations: 4 kB / 0.7468 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5533, allocations: 0 / 0.7468 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5533, allocations: 4 kB / 0.7468 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.5535, allocations: 22.42 kB / 0.7469 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.5535, allocations: 0 / 0.7469 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.5535, allocations: 11.92 kB / 0.7469 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.5535, allocations: 8 kB / 0.7469 GB, free: 0.4922 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 7.591e-05/0.5536, allocations: 113.8 kB / 0.747 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.5537, allocations: 7.906 kB / 0.747 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.5541, allocations: 375.4 kB / 0.7474 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.5542, allocations: 0 / 0.7474 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5542, allocations: 0 / 0.7474 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.5542, allocations: 11.98 kB / 0.7474 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.5545, allocations: 288.9 kB / 0.7476 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5545, allocations: 0 / 0.7476 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.5546, allocations: 23.98 kB / 0.7477 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5546, allocations: 0 / 0.7477 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5546, allocations: 4 kB / 0.7477 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5546, allocations: 0 / 0.7477 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5546, allocations: 3.938 kB / 0.7477 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.555, allocations: 335.1 kB / 0.748 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.5551, allocations: 100.9 kB / 0.7481 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.5551, allocations: 4 kB / 0.7481 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.5552, allocations: 8.484 kB / 0.7481 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.5553, allocations: 11.98 kB / 0.7481 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.5553, allocations: 7.938 kB / 0.7481 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.5553, allocations: 75.28 kB / 0.7482 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5553, allocations: 8 kB / 0.7482 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00098/0.5563, allocations: 299.9 kB / 0.7485 GB, free: 14.76 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.00171/0.558, allocations: 1.154 MB / 0.7496 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.5583, allocations: 137.4 kB / 0.7497 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5583, allocations: 0 / 0.7497 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.5585, allocations: 115.9 kB / 0.7499 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.5588, allocations: 20.41 kB / 0.7499 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.5599, allocations: 437.8 kB / 0.7503 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.5602, allocations: 0.7183 MB / 0.751 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.5604, allocations: 34.81 kB / 0.751 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.5605, allocations: 39.42 kB / 0.7511 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.5605, allocations: 0 / 0.7511 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.5924, allocations: 11.65 MB / 0.7624 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.177, allocations: 6.922 kB / 0.7624 GB, free: 0.5156 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)