Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00137/0.00137, allocations: 192 kB / 16.25 MB, free: 6.621 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.516/1.516, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002649/0.002649, allocations: 287.2 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5069 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 95.38 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1618, allocations: 89.16 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4344/0.5962, allocations: 133.6 MB / 0.8235 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009558/0.6058, allocations: 7.971 MB / 0.8312 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.6059, allocations: 1.344 kB / 0.8312 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.6062, allocations: 19.91 kB / 0.8313 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.6062, allocations: 18.28 kB / 0.8313 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004252/0.6105, allocations: 1.296 MB / 0.8325 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.6106, allocations: 71.17 kB / 0.8326 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.6107, allocations: 3.844 kB / 0.8326 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.6108, allocations: 42.03 kB / 0.8327 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.6109, allocations: 40.42 kB / 0.8327 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.611, allocations: 2.5 kB / 0.8327 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004669/0.6156, allocations: 2.65 MB / 0.8353 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.6157, allocations: 19.09 kB / 0.8353 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.6158, allocations: 30.08 kB / 0.8353 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.6181, allocations: 1.381 MB / 0.8367 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6181, allocations: 0 / 0.8367 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6181, allocations: 0 / 0.8367 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.6181, allocations: 0 / 0.8367 GB, free: 15.84 MB / 0.5762 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.001087/0.6192, allocations: 495.8 kB / 0.8371 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6193, allocations: 13.03 kB / 0.8372 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.6197, allocations: 35.22 kB / 0.8372 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.6198, allocations: 166.9 kB / 0.8374 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.6199, allocations: 29.08 kB / 0.8374 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.6199, allocations: 16.47 kB / 0.8374 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.6203, allocations: 117.6 kB / 0.8375 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6203, allocations: 0 / 0.8375 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.6204, allocations: 5.094 kB / 0.8375 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6204, allocations: 1.406 kB / 0.8375 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.6207, allocations: 112.3 kB / 0.8376 GB, free: 15 MB / 0.5762 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.0005341/0.6212, allocations: 385.9 kB / 0.838 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.6215, allocations: 124 kB / 0.8381 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.6216, allocations: 57.52 kB / 0.8382 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.6327, allocations: 4.198 MB / 0.8423 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.6327, allocations: 36.8 kB / 0.8423 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.6328, allocations: 0 / 0.8423 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005144/0.6333, allocations: 164.6 kB / 0.8425 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.6333, allocations: 57.88 kB / 0.8425 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.6334, allocations: 96.8 kB / 0.8426 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.6334, allocations: 36.12 kB / 0.8426 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.6335, allocations: 80.14 kB / 0.8427 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.6335, allocations: 55.11 kB / 0.8428 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.6336, allocations: 24.62 kB / 0.8428 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6337, allocations: 322 kB / 0.8431 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.6338, allocations: 24.08 kB / 0.8431 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/0.6338, allocations: 27.89 kB / 0.8431 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.634, allocations: 68.11 kB / 0.8432 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.634, allocations: 0 / 0.8432 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001803/0.6342, allocations: 114.6 kB / 0.8433 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.6342, allocations: 6.859 kB / 0.8433 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.6342, allocations: 2.406 kB / 0.8433 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.6342, allocations: 0 / 0.8433 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6343, allocations: 25.45 kB / 0.8434 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.6343, allocations: 0 / 0.8434 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.6344, allocations: 2.719 kB / 0.8434 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.6344, allocations: 6.906 kB / 0.8434 GB, free: 10.82 MB / 0.5762 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 8.642e-05/0.6345, allocations: 117.4 kB / 0.8435 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.6346, allocations: 8.438 kB / 0.8435 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.635, allocations: 378.2 kB / 0.8438 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.635, allocations: 10.81 kB / 0.8439 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6351, allocations: 0 / 0.8439 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6351, allocations: 7.938 kB / 0.8439 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.6354, allocations: 290 kB / 0.8441 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6354, allocations: 0.6875 kB / 0.8441 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.6355, allocations: 21.58 kB / 0.8442 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6355, allocations: 0 / 0.8442 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6355, allocations: 2.5 kB / 0.8442 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.6355, allocations: 5.75 kB / 0.8442 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6355, allocations: 0 / 0.8442 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.6359, allocations: 334.2 kB / 0.8445 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.636, allocations: 107.7 kB / 0.8446 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.636, allocations: 2.5 kB / 0.8446 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.6361, allocations: 10.95 kB / 0.8446 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.6362, allocations: 8.891 kB / 0.8446 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.6362, allocations: 2.312 kB / 0.8446 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.6362, allocations: 86.09 kB / 0.8447 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6362, allocations: 0 / 0.8447 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001008/0.6372, allocations: 300.4 kB / 0.845 GB, free: 9.676 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.001224/0.6385, allocations: 397.3 kB / 0.8454 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.6387, allocations: 136.1 kB / 0.8455 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6387, allocations: 0 / 0.8455 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6389, allocations: 105.3 kB / 0.8456 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.6392, allocations: 21.14 kB / 0.8456 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.6397, allocations: 389.9 kB / 0.846 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6401, allocations: 0.7208 MB / 0.8467 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000107/0.6402, allocations: 31.58 kB / 0.8467 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.6402, allocations: 12.72 kB / 0.8467 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.6402, allocations: 0 / 0.8467 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of Templates: time 0.01448/0.6547, allocations: 9.82 MB / 0.8563 GB, free: 3.191 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)