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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001376/0.001376, allocations: 194.9 kB / 16.14 MB, free: 6.637 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 286.9 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 97.67 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1748, allocations: 89.16 MB / 0.6928 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4403/0.6152, allocations: 133.5 MB / 0.8231 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.6264, allocations: 8.497 MB / 0.8314 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.6265, allocations: 0 / 0.8314 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.6267, allocations: 21.08 kB / 0.8314 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.6268, allocations: 17.5 kB / 0.8314 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.6301, allocations: 1.151 MB / 0.8326 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.6302, allocations: 79.36 kB / 0.8326 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.6302, allocations: 11.89 kB / 0.8327 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.6304, allocations: 44.03 kB / 0.8327 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.6304, allocations: 33.09 kB / 0.8327 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.6305, allocations: 2.906 kB / 0.8327 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004805/0.6353, allocations: 2.657 MB / 0.8353 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.6353, allocations: 9.672 kB / 0.8353 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.6354, allocations: 38.31 kB / 0.8354 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.6378, allocations: 1.372 MB / 0.8367 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6378, allocations: 3.984 kB / 0.8367 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6379, allocations: 1.531 kB / 0.8367 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6379, allocations: 0 / 0.8367 GB, free: 15.71 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.001322/0.6392, allocations: 0.4915 MB / 0.8372 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6392, allocations: 9.562 kB / 0.8372 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.6396, allocations: 29.66 kB / 0.8372 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.6398, allocations: 167.1 kB / 0.8374 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.6399, allocations: 30.83 kB / 0.8374 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.6399, allocations: 12.25 kB / 0.8374 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.6403, allocations: 116.6 kB / 0.8375 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.6403, allocations: 3.938 kB / 0.8375 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.6403, allocations: 12.86 kB / 0.8376 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6403, allocations: 1.281 kB / 0.8376 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.6406, allocations: 113.6 kB / 0.8377 GB, free: 14.87 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.0005275/0.6412, allocations: 379.8 kB / 0.838 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.6415, allocations: 120.3 kB / 0.8381 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.6416, allocations: 57.52 kB / 0.8382 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.6531, allocations: 4.204 MB / 0.8423 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.6531, allocations: 35.11 kB / 0.8423 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 4.268e-06/0.6532, allocations: 0 / 0.8423 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.000543/0.6537, allocations: 168.8 kB / 0.8425 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.6538, allocations: 58.34 kB / 0.8426 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.6539, allocations: 98.36 kB / 0.8427 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.6539, allocations: 25.7 kB / 0.8427 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.6539, allocations: 84.62 kB / 0.8428 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.654, allocations: 44.78 kB / 0.8428 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.6541, allocations: 28.06 kB / 0.8428 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6542, allocations: 322.7 kB / 0.8431 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.855e-05/0.6543, allocations: 27.02 kB / 0.8432 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-05/0.6543, allocations: 24.3 kB / 0.8432 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.6544, allocations: 71.55 kB / 0.8433 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6544, allocations: 2.125 kB / 0.8433 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001834/0.6546, allocations: 108.6 kB / 0.8434 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6547, allocations: 7.5 kB / 0.8434 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6547, allocations: 3.938 kB / 0.8434 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6547, allocations: 3.984 kB / 0.8434 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.6548, allocations: 25.19 kB / 0.8434 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6548, allocations: 0 / 0.8434 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.6549, allocations: 10.48 kB / 0.8434 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.6549, allocations: 10.66 kB / 0.8434 GB, free: 10.68 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 9.895e-05/0.655, allocations: 112.5 kB / 0.8435 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.6551, allocations: 8.938 kB / 0.8435 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.6556, allocations: 368.8 kB / 0.8439 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6556, allocations: 6.531 kB / 0.8439 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6556, allocations: 3.984 kB / 0.8439 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6556, allocations: 0 / 0.8439 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.6559, allocations: 289.4 kB / 0.8442 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.6559, allocations: 0 / 0.8442 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.6561, allocations: 22.02 kB / 0.8442 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6561, allocations: 0 / 0.8442 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.6561, allocations: 3.969 kB / 0.8442 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6561, allocations: 0 / 0.8442 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6561, allocations: 0 / 0.8442 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.6565, allocations: 341.8 kB / 0.8445 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.6565, allocations: 100.1 kB / 0.8446 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.6566, allocations: 6.812 kB / 0.8446 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.6567, allocations: 10.33 kB / 0.8446 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.6568, allocations: 12.95 kB / 0.8446 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.6568, allocations: 2.719 kB / 0.8446 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.6568, allocations: 85.95 kB / 0.8447 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6568, allocations: 6.469 kB / 0.8447 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001007/0.6579, allocations: 296.2 kB / 0.845 GB, free: 9.551 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.001203/0.6591, allocations: 404.4 kB / 0.8454 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.6593, allocations: 123.2 kB / 0.8455 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6593, allocations: 0 / 0.8455 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.6594, allocations: 117.7 kB / 0.8456 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.6597, allocations: 19.78 kB / 0.8457 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.6603, allocations: 376 kB / 0.846 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.6607, allocations: 0.7179 MB / 0.8467 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.6608, allocations: 26.81 kB / 0.8467 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.6608, allocations: 19.39 kB / 0.8468 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6608, allocations: 0 / 0.8468 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of Templates: time 0.01458/0.6754, allocations: 9.748 MB / 0.8563 GB, free: 3.109 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)