Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7616/0.7616, allocations: 143.8 MB / 159.1 MB, free: 6.496 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.001011/0.001011, allocations: 182.3 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.46/1.46, allocations: 225.7 MB / 450.4 MB, free: 6.656 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.0007173/0.0007173, allocations: 107.5 kB / 0.5211 GB, free: 3.332 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.001594/0.001594, allocations: 275.5 kB / 0.6025 GB, free: 49.53 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004284, allocations: 16 kB / 0.6948 GB, free: 2.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3311, allocations: 82.45 MB / 0.7753 GB, free: 26.98 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001088/0.3322, allocations: 0.9875 MB / 0.7763 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.1331/0.4654, allocations: 127.2 MB / 0.9004 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.4654, allocations: 4 kB / 0.9005 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.4655, allocations: 0 / 0.9005 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.4655, allocations: 11.91 kB / 0.9005 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.4668, allocations: 373.4 kB / 0.9008 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.4669, allocations: 31.92 kB / 0.9008 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.4669, allocations: 4 kB / 0.9009 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.467, allocations: 35.84 kB / 0.9009 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.467, allocations: 15.92 kB / 0.9009 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.4671, allocations: 4 kB / 0.9009 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.4686, allocations: 0.7958 MB / 0.9017 GB, free: 9 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.4686, allocations: 7.984 kB / 0.9017 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.4687, allocations: 41.62 kB / 0.9017 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.4694, allocations: 443.1 kB / 0.9022 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4694, allocations: 0 / 0.9022 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4694, allocations: 0 / 0.9022 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.4695, allocations: 0 / 0.9022 GB, free: 8.512 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004758/0.4699, allocations: 355.5 kB / 0.9025 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.47, allocations: 12.03 kB / 0.9025 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.4702, allocations: 20.81 kB / 0.9025 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.4703, allocations: 164.3 kB / 0.9027 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4703, allocations: 8.375 kB / 0.9027 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.4703, allocations: 4.125 kB / 0.9027 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.4705, allocations: 61.66 kB / 0.9028 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.4705, allocations: 0 / 0.9028 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4705, allocations: 0 / 0.9028 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4705, allocations: 0 / 0.9028 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.4706, allocations: 19.98 kB / 0.9028 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.4708, allocations: 169.7 kB / 0.9029 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.4709, allocations: 50.5 kB / 0.903 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.4709, allocations: 16.8 kB / 0.903 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009525/0.4805, allocations: 3.205 MB / 0.9061 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4805, allocations: 30.56 kB / 0.9062 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/0.4805, allocations: 0 / 0.9062 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.3472/0.8277, allocations: 14.26 MB / 0.9201 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.8278, allocations: 55.3 kB / 0.9201 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.633e-05/0.8278, allocations: 95.17 kB / 0.9202 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.8278, allocations: 27.02 kB / 0.9203 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.543e-05/0.8278, allocations: 81.38 kB / 0.9203 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.8279, allocations: 42.42 kB / 0.9204 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.8279, allocations: 1.75 kB / 0.9204 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.8279, allocations: 321.3 kB / 0.9207 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.828, allocations: 26 kB / 0.9207 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.972e-05/0.828, allocations: 22.56 kB / 0.9207 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.8282, allocations: 62.16 kB / 0.9208 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8282, allocations: 7.891 kB / 0.9208 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000187/0.8284, allocations: 106.9 kB / 0.9209 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.8284, allocations: 4 kB / 0.9209 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.8284, allocations: 0 / 0.9209 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8284, allocations: 0 / 0.9209 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.8285, allocations: 25.09 kB / 0.9209 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8285, allocations: 0 / 0.9209 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.8286, allocations: 10.5 kB / 0.9209 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.8286, allocations: 1.5 kB / 0.9209 GB, free: 134.7 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 (14): * Single equations (assignments): 14 * 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 6.038e-05/0.8287, allocations: 126.8 kB / 0.9211 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.8287, allocations: 4.562 kB / 0.9211 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.829, allocations: 123.1 kB / 0.9212 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.829, allocations: 4 kB / 0.9212 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.829, allocations: 0 / 0.9212 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.829, allocations: 0 / 0.9212 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.8291, allocations: 180.2 kB / 0.9214 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8291, allocations: 0 / 0.9214 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.8293, allocations: 30.2 kB / 0.9214 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8293, allocations: 0 / 0.9214 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.8293, allocations: 8.438 kB / 0.9214 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8293, allocations: 0 / 0.9214 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8293, allocations: 3.422 kB / 0.9214 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.8295, allocations: 157 kB / 0.9215 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.8296, allocations: 94.52 kB / 0.9216 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.8296, allocations: 4 kB / 0.9216 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.8297, allocations: 12.53 kB / 0.9216 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.8298, allocations: 8 kB / 0.9217 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.8298, allocations: 11.75 kB / 0.9217 GB, free: 134 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.85e-05/0.8298, allocations: 83.22 kB / 0.9217 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8298, allocations: 0 / 0.9217 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001906/0.8317, allocations: 0.5684 MB / 0.9223 GB, free: 133.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002716/0.8345, allocations: 354.2 kB / 0.9226 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.8346, allocations: 63.78 kB / 0.9227 GB, free: 133 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.8346, allocations: 0 / 0.9227 GB, free: 133 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.8347, allocations: 39.62 kB / 0.9227 GB, free: 133 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.8349, allocations: 19.88 kB / 0.9228 GB, free: 133 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.8354, allocations: 403.7 kB / 0.9231 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.547e-05/0.8355, allocations: 0.6886 MB / 0.9238 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.931e-05/0.8356, allocations: 28.34 kB / 0.9238 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.8356, allocations: 11.44 kB / 0.9239 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.11e-07/0.8356, allocations: 0 / 0.9239 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.02742/0.863, allocations: 24.23 MB / 0.9475 GB, free: 107.6 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)