Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001313, allocations: 112.1 kB / 16.41 MB, free: 6.477 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.001171/0.001171, allocations: 183 kB / 17.34 MB, free: 5.754 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 299.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9183/0.9183, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4143, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002102/0.4165, allocations: 1.257 MB / 0.7682 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1311/0.5476, allocations: 137.7 MB / 0.9027 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.5477, allocations: 0 / 0.9027 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.5477, allocations: 0 / 0.9027 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.5478, allocations: 7.922 kB / 0.9027 GB, free: 8.371 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.5492, allocations: 470 kB / 0.9032 GB, free: 7.914 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.5493, allocations: 43.83 kB / 0.9032 GB, free: 7.871 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.5493, allocations: 7.938 kB / 0.9032 GB, free: 7.863 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.5494, allocations: 19.98 kB / 0.9033 GB, free: 7.844 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.5495, allocations: 23.91 kB / 0.9033 GB, free: 7.82 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.5495, allocations: 3.938 kB / 0.9033 GB, free: 7.816 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.551, allocations: 0.8232 MB / 0.9041 GB, free: 6.992 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.551, allocations: 8 kB / 0.9041 GB, free: 6.984 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.5511, allocations: 27.91 kB / 0.9041 GB, free: 6.957 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.5517, allocations: 443.2 kB / 0.9045 GB, free: 6.523 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.5517, allocations: 0 / 0.9045 GB, free: 6.523 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5517, allocations: 3.938 kB / 0.9046 GB, free: 6.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5517, allocations: 0 / 0.9046 GB, free: 6.52 MB / 0.67 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.0005221/0.5522, allocations: 373.9 kB / 0.9049 GB, free: 6.109 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5523, allocations: 8.031 kB / 0.9049 GB, free: 6.102 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.5525, allocations: 12.92 kB / 0.9049 GB, free: 6.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.954e-05/0.5526, allocations: 160.4 kB / 0.9051 GB, free: 5.895 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.5526, allocations: 12.38 kB / 0.9051 GB, free: 5.883 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.5526, allocations: 8.125 kB / 0.9051 GB, free: 5.875 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.5528, allocations: 53.67 kB / 0.9052 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5528, allocations: 0 / 0.9052 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.5528, allocations: 0 / 0.9052 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5528, allocations: 0 / 0.9052 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.5529, allocations: 23.92 kB / 0.9052 GB, free: 5.793 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.5531, allocations: 173.5 kB / 0.9053 GB, free: 5.574 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.795e-05/0.5532, allocations: 50.56 kB / 0.9054 GB, free: 5.516 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.5532, allocations: 16.8 kB / 0.9054 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.5641, allocations: 3.209 MB / 0.9085 GB, free: 2.191 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.5642, allocations: 34.56 kB / 0.9086 GB, free: 2.148 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 2.484e-06/0.5642, allocations: 0 / 0.9086 GB, free: 2.148 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04093/0.6051, allocations: 15 MB / 0.9232 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.6052, allocations: 55.41 kB / 0.9233 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.6053, allocations: 97.78 kB / 0.9234 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.6053, allocations: 29.7 kB / 0.9234 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.6053, allocations: 84.27 kB / 0.9235 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.6054, allocations: 43.36 kB / 0.9235 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.6054, allocations: 25.72 kB / 0.9235 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.6055, allocations: 326.8 kB / 0.9239 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.6056, allocations: 20 kB / 0.9239 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.6056, allocations: 23.98 kB / 0.9239 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.6058, allocations: 67.84 kB / 0.924 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6058, allocations: 0 / 0.924 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002028/0.606, allocations: 97.62 kB / 0.9241 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.606, allocations: 8 kB / 0.9241 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.606, allocations: 0 / 0.9241 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.606, allocations: 7.984 kB / 0.9241 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.6062, allocations: 24 kB / 0.9241 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6062, allocations: 0 / 0.9241 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.6062, allocations: 0 / 0.9241 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.6062, allocations: 4 kB / 0.9241 GB, free: 2.043 MB / 0.6856 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 8.854e-05/0.6063, allocations: 132 kB / 0.9242 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.6064, allocations: 7.906 kB / 0.9242 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.6066, allocations: 121.5 kB / 0.9243 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.6066, allocations: 0 / 0.9243 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6066, allocations: 4 kB / 0.9244 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6066, allocations: 0 / 0.9244 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.6068, allocations: 181.6 kB / 0.9245 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6068, allocations: 0 / 0.9245 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.6069, allocations: 23.98 kB / 0.9245 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6069, allocations: 7.938 kB / 0.9246 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.6069, allocations: 4 kB / 0.9246 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.607, allocations: 4 kB / 0.9246 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.607, allocations: 4 kB / 0.9246 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.6072, allocations: 157 kB / 0.9247 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.6073, allocations: 85.14 kB / 0.9248 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.6073, allocations: 8 kB / 0.9248 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.6075, allocations: 15.98 kB / 0.9248 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.6075, allocations: 7.984 kB / 0.9248 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.6075, allocations: 8 kB / 0.9248 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.6076, allocations: 75.28 kB / 0.9249 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.6076, allocations: 0 / 0.9249 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001666/0.6092, allocations: 0.5663 MB / 0.9255 GB, free: 0.543 MB / 0.6856 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.003508/0.6128, allocations: 363.1 kB / 0.9258 GB, free: 184 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.6129, allocations: 63.98 kB / 0.9259 GB, free: 120 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.613, allocations: 3.938 kB / 0.9259 GB, free: 116 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.613, allocations: 43.86 kB / 0.9259 GB, free: 72 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.6132, allocations: 10.75 kB / 0.9259 GB, free: 64 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.6138, allocations: 375.3 kB / 0.9263 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.6141, allocations: 0.6846 MB / 0.9269 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.6141, allocations: 19.44 kB / 0.927 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of SimCode: time 2.61e-07/0.6141, allocations: 4 kB / 0.927 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of Templates: time 0.02073/0.6348, allocations: 14.35 MB / 0.941 GB, free: 0.6094 MB / 0.7012 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)