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.00135/0.00135, allocations: 108.9 kB / 15.99 MB, free: 6.363 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.001215/0.001215, allocations: 192.2 kB / 16.91 MB, free: 6.191 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.225/1.225, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 278.1 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8697/0.8697, allocations: 169.2 MB / 0.4985 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 97.39 kB / 0.5953 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1548, allocations: 86.98 MB / 0.6803 GB, free: 8.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002164/0.157, allocations: 1.315 MB / 0.6815 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3793/0.5363, allocations: 135.7 MB / 0.8141 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.5364, allocations: 0 / 0.8141 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.5364, allocations: 0 / 0.8141 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.5365, allocations: 15.91 kB / 0.8141 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.5376, allocations: 410.8 kB / 0.8145 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.5377, allocations: 39.91 kB / 0.8145 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.5377, allocations: 0 / 0.8145 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.5377, allocations: 31.84 kB / 0.8146 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.5378, allocations: 15.92 kB / 0.8146 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.5378, allocations: 4 kB / 0.8146 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.539, allocations: 0.8114 MB / 0.8154 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.539, allocations: 7.984 kB / 0.8154 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.5391, allocations: 19.92 kB / 0.8154 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.5394, allocations: 295.4 kB / 0.8157 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5394, allocations: 5.875 kB / 0.8157 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5394, allocations: 0 / 0.8157 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5394, allocations: 0 / 0.8157 GB, free: 4.902 MB / 0.5762 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.0004298/0.5398, allocations: 367.5 kB / 0.816 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.5399, allocations: 12.03 kB / 0.8161 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.54, allocations: 13.55 kB / 0.8161 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.5401, allocations: 164.4 kB / 0.8162 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5402, allocations: 5.25 kB / 0.8162 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.5402, allocations: 8.281 kB / 0.8162 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.5403, allocations: 61.55 kB / 0.8163 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.5403, allocations: 0 / 0.8163 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5404, allocations: 4 kB / 0.8163 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5404, allocations: 3.984 kB / 0.8163 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.453e-05/0.5404, allocations: 20.67 kB / 0.8163 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.5406, allocations: 161.7 kB / 0.8165 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.612e-05/0.5407, allocations: 58.5 kB / 0.8165 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.5407, allocations: 24.78 kB / 0.8166 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009774/0.5505, allocations: 3.167 MB / 0.8197 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5505, allocations: 42.5 kB / 0.8197 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.5506, allocations: 4 kB / 0.8197 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.03717/0.5877, allocations: 14.85 MB / 0.8342 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.5878, allocations: 55.34 kB / 0.8343 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.5878, allocations: 93.86 kB / 0.8343 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.5879, allocations: 25.7 kB / 0.8344 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.5879, allocations: 84.27 kB / 0.8345 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.5879, allocations: 43.39 kB / 0.8345 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.588, allocations: 33.7 kB / 0.8345 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.5881, allocations: 314.8 kB / 0.8348 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.5881, allocations: 19.98 kB / 0.8348 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.938e-05/0.5882, allocations: 27.98 kB / 0.8349 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.5883, allocations: 70.36 kB / 0.8349 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5883, allocations: 0 / 0.8349 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001908/0.5885, allocations: 105.6 kB / 0.835 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5885, allocations: 8 kB / 0.835 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5885, allocations: 0 / 0.835 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5885, allocations: 0 / 0.835 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.5886, allocations: 27.98 kB / 0.8351 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5887, allocations: 0 / 0.8351 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.5887, allocations: 7.938 kB / 0.8351 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.5887, allocations: 7.938 kB / 0.8351 GB, free: 0.5898 MB / 0.5919 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 6.803e-05/0.5888, allocations: 113.8 kB / 0.8352 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.5888, allocations: 4 kB / 0.8352 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.5891, allocations: 133.5 kB / 0.8353 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5891, allocations: 0 / 0.8353 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5891, allocations: 0 / 0.8353 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5891, allocations: 3.984 kB / 0.8353 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.5892, allocations: 181.6 kB / 0.8355 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5892, allocations: 7.625 kB / 0.8355 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5894, allocations: 24 kB / 0.8355 GB, free: 60 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5894, allocations: 3.984 kB / 0.8355 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5894, allocations: 8 kB / 0.8355 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5894, allocations: 0 / 0.8355 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5894, allocations: 0 / 0.8355 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.5897, allocations: 153 kB / 0.8357 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.5897, allocations: 89 kB / 0.8358 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.5898, allocations: 4 kB / 0.8358 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.5899, allocations: 12 kB / 0.8358 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.5899, allocations: 11.92 kB / 0.8358 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.59, allocations: 8 kB / 0.8358 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.59, allocations: 83.27 kB / 0.8359 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.59, allocations: 0 / 0.8359 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001424/0.5914, allocations: 0.5663 MB / 0.8364 GB, free: 15.09 MB / 0.6075 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.002658/0.5941, allocations: 359.2 kB / 0.8368 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.5943, allocations: 83.09 kB / 0.8369 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5943, allocations: 0 / 0.8369 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.5943, allocations: 35.92 kB / 0.8369 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.5945, allocations: 12.78 kB / 0.8369 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.5951, allocations: 379.6 kB / 0.8373 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.5953, allocations: 0.6923 MB / 0.8379 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.5953, allocations: 19.44 kB / 0.838 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.5953, allocations: 4 kB / 0.838 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of Templates: time 0.02278/0.6181, allocations: 14.33 MB / 0.852 GB, free: 15.16 MB / 0.6231 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)