Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7344/0.7344, allocations: 143.8 MB / 159.1 MB, free: 6.504 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 190.1 kB / 192 MB, free: 6.73 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 225.7 MB / 450.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007634/0.0007634, allocations: 99.56 kB / 0.5211 GB, free: 1.645 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 281.2 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004152, allocations: 10.84 kB / 0.6948 GB, free: 59.35 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1397, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4283/0.5681, allocations: 124.6 MB / 0.897 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00986/0.578, allocations: 10.13 MB / 0.9069 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.5781, allocations: 2.312 kB / 0.9069 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.5783, allocations: 20.61 kB / 0.9069 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.5784, allocations: 16.89 kB / 0.9069 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.5821, allocations: 1.167 MB / 0.908 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.5823, allocations: 67.31 kB / 0.9081 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.5823, allocations: 1.688 kB / 0.9081 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.5824, allocations: 45.84 kB / 0.9081 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.5825, allocations: 40.89 kB / 0.9082 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.5825, allocations: 0 / 0.9082 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/0.587, allocations: 2.552 MB / 0.9107 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.587, allocations: 17.38 kB / 0.9107 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.5871, allocations: 56.34 kB / 0.9107 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.5895, allocations: 1.369 MB / 0.9121 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5896, allocations: 0 / 0.9121 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.457e-06/0.5896, allocations: 3.688 kB / 0.9121 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.5896, allocations: 0 / 0.9121 GB, free: 13.41 MB / 0.5573 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.001213/0.5908, allocations: 490 kB / 0.9126 GB, free: 13 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5909, allocations: 9.312 kB / 0.9126 GB, free: 13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.5912, allocations: 24.77 kB / 0.9126 GB, free: 13 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.5913, allocations: 175.8 kB / 0.9128 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.734e-05/0.5914, allocations: 30.08 kB / 0.9128 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.5914, allocations: 11.06 kB / 0.9128 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.5918, allocations: 119.7 kB / 0.9129 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5918, allocations: 1.859 kB / 0.9129 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.5918, allocations: 0 / 0.9129 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5918, allocations: 5.531 kB / 0.9129 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.5921, allocations: 117.5 kB / 0.913 GB, free: 12.72 MB / 0.5573 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.0004738/0.5926, allocations: 381.7 kB / 0.9134 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.5929, allocations: 120.4 kB / 0.9135 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.5929, allocations: 51.77 kB / 0.9136 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.604, allocations: 4.254 MB / 0.9177 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.6041, allocations: 37.64 kB / 0.9177 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.6041, allocations: 0 / 0.9177 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0005382/0.6047, allocations: 162.9 kB / 0.9179 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.6048, allocations: 52.5 kB / 0.9179 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.6048, allocations: 99.55 kB / 0.918 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.6049, allocations: 31.3 kB / 0.9181 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.6049, allocations: 85.11 kB / 0.9182 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.605, allocations: 42.02 kB / 0.9182 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.605, allocations: 8.594 kB / 0.9182 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6051, allocations: 321.9 kB / 0.9185 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.6052, allocations: 28.28 kB / 0.9185 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.6052, allocations: 23.66 kB / 0.9186 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6053, allocations: 68.33 kB / 0.9186 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.6053, allocations: 0 / 0.9186 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001691/0.6055, allocations: 109 kB / 0.9187 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6055, allocations: 5.344 kB / 0.9187 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6055, allocations: 0 / 0.9187 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6055, allocations: 7.031 kB / 0.9187 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.6057, allocations: 20.58 kB / 0.9188 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6057, allocations: 1.125 kB / 0.9188 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.6058, allocations: 9.969 kB / 0.9188 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.6058, allocations: 6.156 kB / 0.9188 GB, free: 9.762 MB / 0.5573 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 0.0001055/0.6059, allocations: 116.4 kB / 0.9189 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.6059, allocations: 10.58 kB / 0.9189 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.6064, allocations: 368.9 kB / 0.9192 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.6064, allocations: 9.531 kB / 0.9193 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6064, allocations: 3.797 kB / 0.9193 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6064, allocations: 3.984 kB / 0.9193 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.6067, allocations: 280.8 kB / 0.9195 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6067, allocations: 3.078 kB / 0.9195 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.6068, allocations: 22.88 kB / 0.9196 GB, free: 9.348 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6069, allocations: 5.375 kB / 0.9196 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.6069, allocations: 8.875 kB / 0.9196 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6069, allocations: 3.125 kB / 0.9196 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6069, allocations: 0 / 0.9196 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.6072, allocations: 332.2 kB / 0.9199 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.6073, allocations: 100.2 kB / 0.92 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.6074, allocations: 4.969 kB / 0.92 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.6075, allocations: 9.797 kB / 0.92 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.6075, allocations: 17.14 kB / 0.92 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.6076, allocations: 3.312 kB / 0.92 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.6076, allocations: 88.62 kB / 0.9201 GB, free: 9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6076, allocations: 0 / 0.9201 GB, free: 9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001366/0.609, allocations: 301.7 kB / 0.9204 GB, free: 8.977 MB / 0.5573 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.001305/0.6103, allocations: 403.2 kB / 0.9208 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.6105, allocations: 131.3 kB / 0.9209 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6105, allocations: 5 kB / 0.9209 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.6107, allocations: 107.9 kB / 0.921 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.611, allocations: 22.11 kB / 0.921 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.6115, allocations: 379 kB / 0.9214 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.6119, allocations: 0.7158 MB / 0.9221 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.612, allocations: 38.02 kB / 0.9221 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.6121, allocations: 19.62 kB / 0.9221 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.6121, allocations: 0 / 0.9221 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of Templates: time 0.01484/0.6269, allocations: 9.737 MB / 0.9317 GB, free: 3.309 MB / 0.5573 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)