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.007397/0.007397, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001688/0.001688, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002344/0.002344, allocations: 287.2 kB / 290.8 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 1.074/1.074, allocations: 169.2 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 99.84 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4355, allocations: 86.97 MB / 0.7663 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002463/0.438, allocations: 1.26 MB / 0.7676 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.142/0.58, allocations: 137.7 MB / 0.9021 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.5801, allocations: 0 / 0.9021 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.5801, allocations: 0 / 0.9021 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.5802, allocations: 7.938 kB / 0.9021 GB, free: 8.352 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.5814, allocations: 474.1 kB / 0.9025 GB, free: 7.891 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.5815, allocations: 43.83 kB / 0.9026 GB, free: 7.848 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.5815, allocations: 0 / 0.9026 GB, free: 7.848 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.5816, allocations: 23.92 kB / 0.9026 GB, free: 7.824 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.222e-05/0.5816, allocations: 23.91 kB / 0.9026 GB, free: 7.801 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.5817, allocations: 0 / 0.9026 GB, free: 7.801 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.583, allocations: 0.8232 MB / 0.9034 GB, free: 6.977 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.5831, allocations: 11.94 kB / 0.9034 GB, free: 6.965 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.5831, allocations: 23.91 kB / 0.9035 GB, free: 6.941 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.5837, allocations: 448.9 kB / 0.9039 GB, free: 6.508 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.5837, allocations: 0 / 0.9039 GB, free: 6.508 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5837, allocations: 0 / 0.9039 GB, free: 6.508 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5837, allocations: 0 / 0.9039 GB, free: 6.508 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.0004841/0.5842, allocations: 379.2 kB / 0.9042 GB, free: 6.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5842, allocations: 8.031 kB / 0.9043 GB, free: 6.082 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.5844, allocations: 8.938 kB / 0.9043 GB, free: 6.074 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5845, allocations: 164.4 kB / 0.9044 GB, free: 5.875 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.5845, allocations: 4.375 kB / 0.9044 GB, free: 5.871 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.5846, allocations: 12.12 kB / 0.9044 GB, free: 5.859 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5847, allocations: 53.67 kB / 0.9045 GB, free: 5.801 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5847, allocations: 0 / 0.9045 GB, free: 5.801 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5848, allocations: 0 / 0.9045 GB, free: 5.801 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5848, allocations: 4 kB / 0.9045 GB, free: 5.797 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.5848, allocations: 23.92 kB / 0.9045 GB, free: 5.773 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.585, allocations: 169.5 kB / 0.9047 GB, free: 5.559 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.746e-05/0.5851, allocations: 58.55 kB / 0.9047 GB, free: 5.492 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.5852, allocations: 20.78 kB / 0.9047 GB, free: 5.469 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.5959, allocations: 3.205 MB / 0.9079 GB, free: 2.168 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.5959, allocations: 38.55 kB / 0.9079 GB, free: 2.121 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.596, allocations: 0 / 0.9079 GB, free: 2.121 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.03958/0.6355, allocations: 15 MB / 0.9226 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.6356, allocations: 59.41 kB / 0.9226 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.6357, allocations: 93.8 kB / 0.9227 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.6357, allocations: 29.7 kB / 0.9227 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.6357, allocations: 84.14 kB / 0.9228 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.6358, allocations: 39.64 kB / 0.9229 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.6358, allocations: 29.7 kB / 0.9229 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.6359, allocations: 322.8 kB / 0.9232 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.992e-05/0.636, allocations: 24.11 kB / 0.9232 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/0.636, allocations: 23.98 kB / 0.9232 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.6361, allocations: 64.84 kB / 0.9233 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6361, allocations: 0 / 0.9233 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001973/0.6364, allocations: 103.4 kB / 0.9234 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6364, allocations: 8 kB / 0.9234 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6364, allocations: 3.984 kB / 0.9234 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6364, allocations: 0 / 0.9234 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.6365, allocations: 27.98 kB / 0.9234 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.6365, allocations: 0 / 0.9234 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.6366, allocations: 4 kB / 0.9234 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.6366, allocations: 4 kB / 0.9234 GB, free: 2.016 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 7.309e-05/0.6366, allocations: 124.1 kB / 0.9236 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.6367, allocations: 7.953 kB / 0.9236 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.6369, allocations: 129.4 kB / 0.9237 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.637, allocations: 8 kB / 0.9237 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.637, allocations: 0 / 0.9237 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.637, allocations: 0 / 0.9237 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.6371, allocations: 181.6 kB / 0.9239 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6371, allocations: 0 / 0.9239 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.6372, allocations: 31.92 kB / 0.9239 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6372, allocations: 0 / 0.9239 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.6373, allocations: 4 kB / 0.9239 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6373, allocations: 4 kB / 0.9239 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6373, allocations: 0 / 0.9239 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.6375, allocations: 160.9 kB / 0.9241 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.6376, allocations: 85.14 kB / 0.9241 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.6376, allocations: 4 kB / 0.9241 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.6378, allocations: 11.98 kB / 0.9242 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.6378, allocations: 4 kB / 0.9242 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.6378, allocations: 11.98 kB / 0.9242 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.6379, allocations: 79.28 kB / 0.9243 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.312e-06/0.6379, allocations: 0 / 0.9243 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00142/0.6393, allocations: 0.5738 MB / 0.9248 GB, free: 0.5078 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.002661/0.642, allocations: 354.9 kB / 0.9251 GB, free: 156 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.6421, allocations: 60.3 kB / 0.9252 GB, free: 96 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6421, allocations: 0 / 0.9252 GB, free: 96 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.6422, allocations: 47.8 kB / 0.9253 GB, free: 48 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.6424, allocations: 14.69 kB / 0.9253 GB, free: 36 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.6429, allocations: 353.1 kB / 0.9256 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.6431, allocations: 0.6885 MB / 0.9263 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 7.521e-05/0.6432, allocations: 16.61 kB / 0.9263 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.6432, allocations: 15.44 kB / 0.9263 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.6432, allocations: 0 / 0.9263 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of Templates: time 0.02941/0.6726, allocations: 24.29 MB / 0.95 GB, free: 6.625 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)