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.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.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.0008502/0.0008499, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009916/0.0009916, allocations: 168.7 kB / 15.95 MB, free: 204 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.336/1.336, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9708/0.9708, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 83.42 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.4182/0.5872, allocations: 122.7 MB / 0.7174 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.598, allocations: 7.476 MB / 0.7247 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.5981, allocations: 1.062 kB / 0.7247 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.5983, allocations: 17.62 kB / 0.7247 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.5984, allocations: 21.08 kB / 0.7247 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004942/0.6033, allocations: 1.12 MB / 0.7258 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.6035, allocations: 67.34 kB / 0.7259 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.6035, allocations: 3.766 kB / 0.7259 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.6037, allocations: 42.48 kB / 0.7259 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.6038, allocations: 35.77 kB / 0.7259 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.6038, allocations: 8.031 kB / 0.726 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007157/0.611, allocations: 2.514 MB / 0.7284 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.611, allocations: 14.91 kB / 0.7284 GB, free: 1.793 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.6111, allocations: 41.02 kB / 0.7285 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.6133, allocations: 0.9029 MB / 0.7293 GB, free: 1.625 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6133, allocations: 0.6094 kB / 0.7293 GB, free: 1.625 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6133, allocations: 0 / 0.7293 GB, free: 1.625 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.6133, allocations: 1.406 kB / 0.7293 GB, free: 1.625 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001805/0.6151, allocations: 486.4 kB / 0.7298 GB, free: 1.211 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.6152, allocations: 13.03 kB / 0.7298 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.6152, allocations: 38.31 kB / 0.7299 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004217/0.6157, allocations: 24.06 kB / 0.7299 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.6158, allocations: 181.3 kB / 0.7301 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.6159, allocations: 33.28 kB / 0.7301 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.6159, allocations: 8.391 kB / 0.7301 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.6163, allocations: 119.6 kB / 0.7302 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6163, allocations: 2.438 kB / 0.7302 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6164, allocations: 4 kB / 0.7302 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6164, allocations: 6.219 kB / 0.7302 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.6167, allocations: 121.3 kB / 0.7303 GB, free: 0.8164 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.0005172/0.6172, allocations: 376.9 kB / 0.7307 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.6175, allocations: 124.3 kB / 0.7308 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.6176, allocations: 54.7 kB / 0.7309 GB, free: 368 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.6287, allocations: 4.255 MB / 0.735 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.6288, allocations: 32.34 kB / 0.7351 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.165e-06/0.6288, allocations: 0 / 0.7351 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005285/0.6293, allocations: 171.2 kB / 0.7352 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.6294, allocations: 52.78 kB / 0.7353 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.6295, allocations: 97.98 kB / 0.7354 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.6295, allocations: 27.08 kB / 0.7354 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.6295, allocations: 81.52 kB / 0.7355 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.6296, allocations: 51.56 kB / 0.7355 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.6296, allocations: 1.375 kB / 0.7355 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6297, allocations: 320.2 kB / 0.7358 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.6298, allocations: 25.73 kB / 0.7358 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.6298, allocations: 28.86 kB / 0.7359 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.98e-05/0.6299, allocations: 29.75 kB / 0.7359 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6299, allocations: 1.375 kB / 0.7359 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001733/0.6301, allocations: 105.5 kB / 0.736 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6301, allocations: 4.125 kB / 0.736 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6301, allocations: 1.375 kB / 0.736 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.6302, allocations: 7.953 kB / 0.736 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.6303, allocations: 25.86 kB / 0.736 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6303, allocations: 1.875 kB / 0.736 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.6304, allocations: 2.75 kB / 0.736 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.6304, allocations: 6.688 kB / 0.7361 GB, free: 13.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.888e-05/0.6305, allocations: 120.6 kB / 0.7362 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.6305, allocations: 6.656 kB / 0.7362 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.631, allocations: 363.8 kB / 0.7365 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.631, allocations: 10.69 kB / 0.7365 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.631, allocations: 0.5 kB / 0.7365 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6311, allocations: 3.938 kB / 0.7365 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.6314, allocations: 290.7 kB / 0.7368 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6314, allocations: 4.484 kB / 0.7368 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.6315, allocations: 20.31 kB / 0.7368 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6315, allocations: 1.344 kB / 0.7368 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6315, allocations: 9.328 kB / 0.7368 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6315, allocations: 2.125 kB / 0.7368 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.6315, allocations: 7.891 kB / 0.7369 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.6319, allocations: 316.8 kB / 0.7372 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.632, allocations: 107.6 kB / 0.7373 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.632, allocations: 1.156 kB / 0.7373 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.6321, allocations: 11.59 kB / 0.7373 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.6322, allocations: 13.06 kB / 0.7373 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.6322, allocations: 8.266 kB / 0.7373 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.6323, allocations: 86.36 kB / 0.7374 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6323, allocations: 0 / 0.7374 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001591/0.6339, allocations: 300.8 kB / 0.7377 GB, free: 11.8 MB / 0.5606 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 (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.00268/0.6366, allocations: 1.155 MB / 0.7388 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.6368, allocations: 127.9 kB / 0.7389 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6368, allocations: 0 / 0.7389 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.6369, allocations: 104 kB / 0.739 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.6373, allocations: 26.2 kB / 0.739 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.6386, allocations: 0.4919 MB / 0.7395 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.6389, allocations: 0.7208 MB / 0.7402 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00012/0.639, allocations: 25.53 kB / 0.7402 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.6391, allocations: 39.41 kB / 0.7403 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of SimCode: time 1.884e-06/0.6391, allocations: 0 / 0.7403 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.6648, allocations: 11.68 MB / 0.7517 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.665, allocations: 200.7 kB / 0.7519 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.594, allocations: 0 / 0.7519 GB, free: 13.3 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/linux/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) Environment - environmentSimulation: