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.001472/0.001472, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001705/0.001705, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002187, allocations: 288.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9217/0.9217, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3757, allocations: 86.96 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002033/0.3777, allocations: 1.272 MB / 0.7683 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1272/0.5049, allocations: 137.7 MB / 0.9027 GB, free: 8.352 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.505, allocations: 4 kB / 0.9027 GB, free: 8.348 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.505, allocations: 3.938 kB / 0.9027 GB, free: 8.344 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.492e-05/0.5051, allocations: 3.984 kB / 0.9027 GB, free: 8.34 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.5063, allocations: 470 kB / 0.9032 GB, free: 7.883 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.804e-05/0.5064, allocations: 55.7 kB / 0.9032 GB, free: 7.828 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.5064, allocations: 0 / 0.9032 GB, free: 7.828 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.5065, allocations: 19.98 kB / 0.9033 GB, free: 7.809 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.5065, allocations: 19.91 kB / 0.9033 GB, free: 7.789 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.5066, allocations: 0 / 0.9033 GB, free: 7.789 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.508, allocations: 0.8348 MB / 0.9041 GB, free: 6.953 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.508, allocations: 7.984 kB / 0.9041 GB, free: 6.945 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.5081, allocations: 15.92 kB / 0.9041 GB, free: 6.93 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.5086, allocations: 443.2 kB / 0.9045 GB, free: 6.496 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5086, allocations: 4 kB / 0.9046 GB, free: 6.492 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5086, allocations: 0 / 0.9046 GB, free: 6.492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5086, allocations: 4 kB / 0.9046 GB, free: 6.488 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.0004592/0.5091, allocations: 369.9 kB / 0.9049 GB, free: 6.082 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.5092, allocations: 8.031 kB / 0.9049 GB, free: 6.074 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.5093, allocations: 12.94 kB / 0.9049 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.5094, allocations: 168.4 kB / 0.9051 GB, free: 5.859 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.5095, allocations: 384 / 0.9051 GB, free: 5.859 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.5095, allocations: 12.12 kB / 0.9051 GB, free: 5.848 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.5096, allocations: 61.58 kB / 0.9052 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.5096, allocations: 0 / 0.9052 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.5097, allocations: 8 kB / 0.9052 GB, free: 5.773 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5097, allocations: 4 kB / 0.9052 GB, free: 5.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.657e-05/0.5097, allocations: 11.98 kB / 0.9052 GB, free: 5.758 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.5099, allocations: 165.6 kB / 0.9053 GB, free: 5.547 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.51, allocations: 58.48 kB / 0.9054 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.51, allocations: 20.73 kB / 0.9054 GB, free: 5.457 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.5215, allocations: 3.205 MB / 0.9085 GB, free: 2.156 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.5216, allocations: 34.56 kB / 0.9086 GB, free: 2.113 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.5216, allocations: 0 / 0.9086 GB, free: 2.113 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04352/0.5651, allocations: 14.99 MB / 0.9232 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.5652, allocations: 59.34 kB / 0.9233 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.5652, allocations: 93.86 kB / 0.9234 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5652, allocations: 29.7 kB / 0.9234 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.5653, allocations: 84.12 kB / 0.9235 GB, free: 2.676 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.5653, allocations: 43.36 kB / 0.9235 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.5654, allocations: 29.7 kB / 0.9235 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.5655, allocations: 318.8 kB / 0.9238 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.5655, allocations: 24.12 kB / 0.9239 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-05/0.5656, allocations: 27.98 kB / 0.9239 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.5657, allocations: 75.09 kB / 0.924 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5657, allocations: 0 / 0.924 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002078/0.5659, allocations: 97.69 kB / 0.9241 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.566, allocations: 8 kB / 0.9241 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.566, allocations: 0 / 0.9241 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.566, allocations: 0 / 0.9241 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.5661, allocations: 27.92 kB / 0.9241 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5661, allocations: 0 / 0.9241 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.5662, allocations: 8 kB / 0.9241 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.5662, allocations: 8.172 kB / 0.9241 GB, free: 2 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.147e-05/0.5663, allocations: 120.2 kB / 0.9242 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.5663, allocations: 11.89 kB / 0.9242 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.5666, allocations: 121.4 kB / 0.9244 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5666, allocations: 4 kB / 0.9244 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5666, allocations: 4 kB / 0.9244 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.5667, allocations: 85 kB / 0.9244 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.5667, allocations: 8 kB / 0.9245 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.5668, allocations: 11.98 kB / 0.9245 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.5669, allocations: 11.92 kB / 0.9245 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002826/0.5672, allocations: 184.9 kB / 0.9246 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003471/0.5675, allocations: 306.6 kB / 0.9249 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.77e-05/0.5676, allocations: 32.45 kB / 0.925 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.5676, allocations: 79.28 kB / 0.925 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of Backend: time 6.01e-07/0.5677, allocations: 0 / 0.925 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00361/0.5713, allocations: 397 kB / 0.9254 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0006411/0.5719, allocations: 0.7762 MB / 0.9262 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of Templates: time 0.03185/0.6038, allocations: 24.68 MB / 0.9503 GB, free: 7.09 MB / 0.7169 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)