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.001208/0.001208, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001328/0.001328, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.266/1.266, 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.002037/0.002037, allocations: 285.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9007/0.9007, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 91.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4353, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002213/0.4376, allocations: 1.265 MB / 0.7682 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.132/0.5696, allocations: 137.7 MB / 0.9027 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.5697, allocations: 0 / 0.9027 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.5697, allocations: 3.984 kB / 0.9027 GB, free: 8.375 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.5698, allocations: 3.938 kB / 0.9027 GB, free: 8.371 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.5711, allocations: 477.9 kB / 0.9032 GB, free: 7.906 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.5711, allocations: 47.78 kB / 0.9032 GB, free: 7.859 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.5712, allocations: 4 kB / 0.9032 GB, free: 7.855 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.5712, allocations: 19.92 kB / 0.9033 GB, free: 7.836 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.5713, allocations: 19.91 kB / 0.9033 GB, free: 7.816 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.5713, allocations: 4 kB / 0.9033 GB, free: 7.812 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.5728, allocations: 0.8309 MB / 0.9041 GB, free: 6.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.5729, allocations: 7.984 kB / 0.9041 GB, free: 6.973 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.5729, allocations: 19.92 kB / 0.9041 GB, free: 6.953 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.5736, allocations: 443.2 kB / 0.9045 GB, free: 6.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5736, allocations: 0 / 0.9045 GB, free: 6.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5736, allocations: 0 / 0.9045 GB, free: 6.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.5736, allocations: 0 / 0.9045 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.0005101/0.5741, allocations: 377.9 kB / 0.9049 GB, free: 6.105 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.5742, allocations: 8.031 kB / 0.9049 GB, free: 6.098 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.5744, allocations: 16.92 kB / 0.9049 GB, free: 6.082 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5745, allocations: 160.4 kB / 0.9051 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5745, allocations: 4.375 kB / 0.9051 GB, free: 5.883 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.5745, allocations: 4.125 kB / 0.9051 GB, free: 5.879 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5747, allocations: 61.61 kB / 0.9052 GB, free: 5.812 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.5747, allocations: 0 / 0.9052 GB, free: 5.812 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5747, allocations: 4 kB / 0.9052 GB, free: 5.809 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5747, allocations: 0 / 0.9052 GB, free: 5.809 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.547e-05/0.5748, allocations: 19.98 kB / 0.9052 GB, free: 5.789 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.5749, allocations: 173.5 kB / 0.9053 GB, free: 5.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.575, allocations: 46.56 kB / 0.9054 GB, free: 5.516 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.5751, allocations: 20.8 kB / 0.9054 GB, free: 5.492 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.5857, allocations: 3.201 MB / 0.9085 GB, free: 2.195 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5858, allocations: 46.5 kB / 0.9086 GB, free: 2.141 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.5858, allocations: 0 / 0.9086 GB, free: 2.141 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04164/0.6274, allocations: 14.99 MB / 0.9232 GB, free: 3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.6275, allocations: 63.34 kB / 0.9233 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.6276, allocations: 89.86 kB / 0.9234 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.6276, allocations: 29.7 kB / 0.9234 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.6276, allocations: 80.14 kB / 0.9235 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.6277, allocations: 43.36 kB / 0.9235 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.6277, allocations: 29.72 kB / 0.9235 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6279, allocations: 318.8 kB / 0.9238 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.6279, allocations: 32.11 kB / 0.9239 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.628, allocations: 24 kB / 0.9239 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.6281, allocations: 67.78 kB / 0.924 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6281, allocations: 4 kB / 0.924 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002143/0.6283, allocations: 97.67 kB / 0.9241 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6283, allocations: 4 kB / 0.9241 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6284, allocations: 0 / 0.9241 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.6284, allocations: 4 kB / 0.9241 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.6285, allocations: 20 kB / 0.9241 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6285, allocations: 7.984 kB / 0.9241 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.6285, allocations: 4 kB / 0.9241 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.6286, allocations: 11.94 kB / 0.9241 GB, free: 2.035 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.247e-05/0.6286, allocations: 120.1 kB / 0.9242 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.6287, allocations: 7.906 kB / 0.9242 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.629, allocations: 121.5 kB / 0.9243 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.629, allocations: 4 kB / 0.9243 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.629, allocations: 0 / 0.9243 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.629, allocations: 4 kB / 0.9243 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.6291, allocations: 173.6 kB / 0.9245 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6291, allocations: 4 kB / 0.9245 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.6293, allocations: 27.92 kB / 0.9245 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6293, allocations: 4 kB / 0.9245 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.6293, allocations: 0 / 0.9245 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6293, allocations: 0 / 0.9245 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6293, allocations: 0 / 0.9245 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.6296, allocations: 161.1 kB / 0.9247 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.6297, allocations: 89.14 kB / 0.9248 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.6297, allocations: 4 kB / 0.9248 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.6298, allocations: 11.98 kB / 0.9248 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.6299, allocations: 16.02 kB / 0.9248 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.6299, allocations: 7.984 kB / 0.9248 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.6299, allocations: 79.28 kB / 0.9249 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.63, allocations: 0 / 0.9249 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001661/0.6316, allocations: 0.5663 MB / 0.9255 GB, free: 0.5469 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.003444/0.6351, allocations: 355.1 kB / 0.9258 GB, free: 196 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.6353, allocations: 71.91 kB / 0.9259 GB, free: 124 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6353, allocations: 3.938 kB / 0.9259 GB, free: 120 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.6353, allocations: 31.98 kB / 0.9259 GB, free: 88 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.6355, allocations: 22.69 kB / 0.9259 GB, free: 68 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.6362, allocations: 375.3 kB / 0.9263 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.6364, allocations: 0.6885 MB / 0.9269 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.6365, allocations: 19.44 kB / 0.927 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of SimCode: time 2e-07/0.6365, allocations: 0 / 0.927 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of Templates: time 0.02036/0.6568, allocations: 14.36 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)