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.001307/0.001307, allocations: 108.5 kB / 16.4 MB, free: 6.512 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.001247/0.001247, allocations: 188 kB / 17.34 MB, free: 5.734 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 277.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4076, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.00218/0.4097, allocations: 1.261 MB / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.5727, allocations: 138.1 MB / 0.9031 GB, free: 8.004 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.5727, allocations: 0 / 0.9031 GB, free: 8.004 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.5727, allocations: 0 / 0.9031 GB, free: 8.004 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.5728, allocations: 3.938 kB / 0.9031 GB, free: 8 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.574, allocations: 482.1 kB / 0.9036 GB, free: 7.531 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.5741, allocations: 47.83 kB / 0.9036 GB, free: 7.484 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.5741, allocations: 0 / 0.9036 GB, free: 7.484 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.5742, allocations: 23.92 kB / 0.9037 GB, free: 7.461 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.5742, allocations: 23.84 kB / 0.9037 GB, free: 7.438 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.5743, allocations: 0 / 0.9037 GB, free: 7.438 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.5757, allocations: 0.831 MB / 0.9045 GB, free: 6.605 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.5757, allocations: 4 kB / 0.9045 GB, free: 6.602 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.5758, allocations: 19.91 kB / 0.9045 GB, free: 6.582 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006015/0.5764, allocations: 448.9 kB / 0.9049 GB, free: 6.148 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5764, allocations: 0 / 0.9049 GB, free: 6.148 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5764, allocations: 0 / 0.9049 GB, free: 6.148 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5764, allocations: 0 / 0.9049 GB, free: 6.148 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.0005503/0.5769, allocations: 379.2 kB / 0.9053 GB, free: 5.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.577, allocations: 8.031 kB / 0.9053 GB, free: 5.723 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.5772, allocations: 16.92 kB / 0.9053 GB, free: 5.707 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.5773, allocations: 164.4 kB / 0.9055 GB, free: 5.508 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5773, allocations: 384 / 0.9055 GB, free: 5.508 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.5773, allocations: 8.125 kB / 0.9055 GB, free: 5.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.5775, allocations: 53.67 kB / 0.9055 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5775, allocations: 0 / 0.9055 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5775, allocations: 7.938 kB / 0.9056 GB, free: 5.434 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.5775, allocations: 8 kB / 0.9056 GB, free: 5.426 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.5776, allocations: 19.97 kB / 0.9056 GB, free: 5.406 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.5778, allocations: 169.6 kB / 0.9057 GB, free: 5.191 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.5779, allocations: 50.55 kB / 0.9058 GB, free: 5.133 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.578, allocations: 20.8 kB / 0.9058 GB, free: 5.109 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.59, allocations: 3.201 MB / 0.9089 GB, free: 1.812 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.59, allocations: 42.5 kB / 0.909 GB, free: 1.762 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.59, allocations: 4 kB / 0.909 GB, free: 1.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04431/0.6343, allocations: 14.99 MB / 0.9236 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6344, allocations: 55.41 kB / 0.9237 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.6344, allocations: 101.8 kB / 0.9238 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.6344, allocations: 29.7 kB / 0.9238 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6345, allocations: 80.14 kB / 0.9239 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.6345, allocations: 43.62 kB / 0.9239 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.6346, allocations: 29.72 kB / 0.9239 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6347, allocations: 322.8 kB / 0.9242 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.6348, allocations: 24.12 kB / 0.9243 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.6348, allocations: 23.98 kB / 0.9243 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.635, allocations: 63.47 kB / 0.9244 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.635, allocations: 0 / 0.9244 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002283/0.6352, allocations: 105.6 kB / 0.9245 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6352, allocations: 4 kB / 0.9245 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6352, allocations: 0 / 0.9245 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6352, allocations: 0 / 0.9245 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.6353, allocations: 27.98 kB / 0.9245 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.6353, allocations: 0 / 0.9245 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.6354, allocations: 8 kB / 0.9245 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.6354, allocations: 8 kB / 0.9245 GB, free: 1.656 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 0.0001301/0.6355, allocations: 124.1 kB / 0.9246 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.6356, allocations: 11.94 kB / 0.9246 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.6358, allocations: 129.4 kB / 0.9248 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6359, allocations: 4 kB / 0.9248 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6359, allocations: 4 kB / 0.9248 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6359, allocations: 0 / 0.9248 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.6361, allocations: 173.6 kB / 0.9249 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6361, allocations: 0 / 0.9249 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.6362, allocations: 31.92 kB / 0.925 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.6362, allocations: 0 / 0.925 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6362, allocations: 4 kB / 0.925 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6362, allocations: 0 / 0.925 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6362, allocations: 0 / 0.925 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.6366, allocations: 165.1 kB / 0.9251 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.6367, allocations: 85.14 kB / 0.9252 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.6367, allocations: 4 kB / 0.9252 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.6368, allocations: 11.98 kB / 0.9252 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.6369, allocations: 11.98 kB / 0.9252 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.6369, allocations: 4 kB / 0.9252 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.6369, allocations: 87.22 kB / 0.9253 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.6369, allocations: 0 / 0.9253 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001677/0.6386, allocations: 0.5699 MB / 0.9259 GB, free: 152 kB / 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.003027/0.6416, allocations: 346.8 kB / 0.9262 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.6418, allocations: 59.97 kB / 0.9263 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6418, allocations: 3.938 kB / 0.9263 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.6419, allocations: 35.92 kB / 0.9263 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.642, allocations: 15.88 kB / 0.9263 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.6427, allocations: 353.3 kB / 0.9266 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.643, allocations: 0.6885 MB / 0.9273 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 8.305e-05/0.6431, allocations: 20.61 kB / 0.9273 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.6431, allocations: 15.44 kB / 0.9274 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of SimCode: time 4.11e-07/0.6431, allocations: 0 / 0.9274 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of Templates: time 0.03619/0.6793, allocations: 24.29 MB / 0.9511 GB, free: 6.273 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)