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.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001095/0.001095, allocations: 190.4 kB / 16.14 MB, free: 6.707 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 286.8 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 88.36 kB / 0.5945 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1658, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002145/0.1679, allocations: 1.319 MB / 0.6807 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.468/0.636, allocations: 135.7 MB / 0.8132 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.636, allocations: 0 / 0.8132 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.6361, allocations: 2.016 kB / 0.8132 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.6362, allocations: 6.984 kB / 0.8132 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.6371, allocations: 378.6 kB / 0.8136 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.6371, allocations: 41.69 kB / 0.8136 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.6372, allocations: 6.438 kB / 0.8137 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.6372, allocations: 21.38 kB / 0.8137 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.6373, allocations: 17.41 kB / 0.8137 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.6373, allocations: 2.656 kB / 0.8137 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.6385, allocations: 0.823 MB / 0.8145 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.6385, allocations: 10.78 kB / 0.8145 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.6386, allocations: 18.52 kB / 0.8145 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.6391, allocations: 445.5 kB / 0.815 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6391, allocations: 4 kB / 0.815 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6391, allocations: 0 / 0.815 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6391, allocations: 0 / 0.815 GB, free: 1.844 MB / 0.5606 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.0005638/0.6397, allocations: 364.7 kB / 0.8153 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6397, allocations: 10.78 kB / 0.8153 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.6399, allocations: 14.33 kB / 0.8153 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.64, allocations: 171.6 kB / 0.8155 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.6401, allocations: 1.562 kB / 0.8155 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.6401, allocations: 11.59 kB / 0.8155 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.6402, allocations: 58.66 kB / 0.8156 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.6403, allocations: 3.984 kB / 0.8156 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.6403, allocations: 0 / 0.8156 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6403, allocations: 2.25 kB / 0.8156 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/0.6404, allocations: 24.8 kB / 0.8156 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.6405, allocations: 162.5 kB / 0.8157 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.806e-05/0.6406, allocations: 47 kB / 0.8158 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.6407, allocations: 23.28 kB / 0.8158 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009989/0.6507, allocations: 3.169 MB / 0.8189 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.6507, allocations: 31.84 kB / 0.8189 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.6507, allocations: 0 / 0.8189 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.03762/0.6883, allocations: 14.87 MB / 0.8335 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.6884, allocations: 51.41 kB / 0.8335 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.6885, allocations: 96.81 kB / 0.8336 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.6885, allocations: 32.34 kB / 0.8336 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.6885, allocations: 80.14 kB / 0.8337 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.6886, allocations: 38.88 kB / 0.8337 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.6886, allocations: 34.02 kB / 0.8338 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.6887, allocations: 322.8 kB / 0.8341 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.6888, allocations: 20.44 kB / 0.8341 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.6888, allocations: 27.02 kB / 0.8341 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.689, allocations: 66.59 kB / 0.8342 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.689, allocations: 0 / 0.8342 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000194/0.6892, allocations: 111.1 kB / 0.8343 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6892, allocations: 5.562 kB / 0.8343 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6892, allocations: 1.312 kB / 0.8343 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6892, allocations: 0 / 0.8343 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.6893, allocations: 27.52 kB / 0.8343 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.6893, allocations: 2.906 kB / 0.8343 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.6894, allocations: 3.375 kB / 0.8343 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.6894, allocations: 3.953 kB / 0.8343 GB, free: 11.89 MB / 0.5762 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 9.091e-05/0.6895, allocations: 124 kB / 0.8345 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.6895, allocations: 9.234 kB / 0.8345 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.6898, allocations: 131.1 kB / 0.8346 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6898, allocations: 1.094 kB / 0.8346 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6898, allocations: 0 / 0.8346 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6898, allocations: 0 / 0.8346 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.69, allocations: 178.9 kB / 0.8348 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.69, allocations: 2 kB / 0.8348 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.6901, allocations: 27.64 kB / 0.8348 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6902, allocations: 2.625 kB / 0.8348 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.6902, allocations: 7.562 kB / 0.8348 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6902, allocations: 2.719 kB / 0.8348 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6902, allocations: 1.094 kB / 0.8348 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.6905, allocations: 148.8 kB / 0.835 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.6905, allocations: 94.42 kB / 0.835 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.6906, allocations: 0 / 0.835 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.6907, allocations: 15.33 kB / 0.8351 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.6908, allocations: 12.23 kB / 0.8351 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.6908, allocations: 6.734 kB / 0.8351 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.6908, allocations: 80.78 kB / 0.8352 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6908, allocations: 0 / 0.8352 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001559/0.6924, allocations: 0.5657 MB / 0.8357 GB, free: 11.19 MB / 0.5762 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.002777/0.6952, allocations: 351.5 kB / 0.836 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.6953, allocations: 64.23 kB / 0.8361 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6953, allocations: 4 kB / 0.8361 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/0.6954, allocations: 44.55 kB / 0.8361 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.6956, allocations: 11.91 kB / 0.8362 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.6961, allocations: 360.9 kB / 0.8365 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.6963, allocations: 0.6936 MB / 0.8372 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.681e-05/0.6964, allocations: 18.14 kB / 0.8372 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.6965, allocations: 13.25 kB / 0.8372 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.6965, allocations: 4 kB / 0.8372 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.03154/0.728, allocations: 24.23 MB / 0.8609 GB, free: 7.527 MB / 0.5919 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)