Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001815/0.001815, allocations: 194.1 kB / 16.14 MB, free: 6.703 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.067/3.067, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 61.34 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3491, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002393/0.3515, allocations: 1.327 MB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.5243, allocations: 135.7 MB / 1.201 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.5244, allocations: 0 / 1.201 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.5245, allocations: 0 / 1.201 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.464e-05/0.5246, allocations: 11.91 kB / 1.201 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.5264, allocations: 370.7 kB / 1.202 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.5266, allocations: 39.91 kB / 1.202 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.5266, allocations: 4 kB / 1.202 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.5267, allocations: 31.84 kB / 1.202 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.5268, allocations: 11.98 kB / 1.202 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.5268, allocations: 4 kB / 1.202 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.5288, allocations: 0.8154 MB / 1.203 GB, free: 124 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.5288, allocations: 11.88 kB / 1.203 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.5288, allocations: 23.91 kB / 1.203 GB, free: 88 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008607/0.5297, allocations: 435.5 kB / 1.203 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5297, allocations: 11.92 kB / 1.203 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5297, allocations: 0 / 1.203 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5298, allocations: 0 / 1.203 GB, free: 15.65 MB / 0.9669 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.0005953/0.5304, allocations: 367.5 kB / 1.203 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5304, allocations: 8.031 kB / 1.203 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.5306, allocations: 12.84 kB / 1.203 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.5308, allocations: 164.3 kB / 1.204 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5309, allocations: 4.375 kB / 1.204 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.5309, allocations: 24.05 kB / 1.204 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.5311, allocations: 53.61 kB / 1.204 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.5311, allocations: 0 / 1.204 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5311, allocations: 7.984 kB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5311, allocations: 0 / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.5312, allocations: 19.98 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.5314, allocations: 157.7 kB / 1.204 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.5316, allocations: 46.56 kB / 1.204 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.5317, allocations: 28.78 kB / 1.204 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.5433, allocations: 3.17 MB / 1.207 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.5434, allocations: 30.56 kB / 1.207 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 3.547e-06/0.5434, allocations: 0 / 1.207 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0442/0.5877, allocations: 14.87 MB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.5877, allocations: 51.41 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.5878, allocations: 97.86 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.5879, allocations: 25.7 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.588, allocations: 80.14 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.5881, allocations: 47.34 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.5882, allocations: 37.83 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5883, allocations: 318.8 kB / 1.222 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.5885, allocations: 23.98 kB / 1.222 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.5885, allocations: 27.98 kB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.5887, allocations: 56.8 kB / 1.222 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5887, allocations: 3.938 kB / 1.222 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002193/0.5889, allocations: 108.9 kB / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5889, allocations: 4 kB / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5889, allocations: 0 / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5889, allocations: 0 / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.5891, allocations: 27.98 kB / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5892, allocations: 3.938 kB / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.5892, allocations: 8 kB / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5892, allocations: 0 / 1.222 GB, free: 11.34 MB / 0.9825 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.94e-05/0.5893, allocations: 117.8 kB / 1.222 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.5894, allocations: 7.906 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.5896, allocations: 129.5 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5897, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5897, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5897, allocations: 3.938 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.5898, allocations: 173.6 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5899, allocations: 0 / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.59, allocations: 31.92 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.59, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.59, allocations: 8 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.59, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.59, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.5904, allocations: 156.9 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.5905, allocations: 89.14 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.5905, allocations: 3.938 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.5907, allocations: 15.98 kB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.5907, allocations: 8 kB / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.5907, allocations: 11.98 kB / 1.223 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.5908, allocations: 79.28 kB / 1.223 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5908, allocations: 0 / 1.223 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002076/0.5929, allocations: 0.5624 MB / 1.224 GB, free: 9.852 MB / 0.9825 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.003138/0.596, allocations: 363 kB / 1.224 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.5963, allocations: 67.91 kB / 1.224 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5963, allocations: 0 / 1.224 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.5964, allocations: 39.98 kB / 1.224 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.5967, allocations: 11.94 kB / 1.224 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5978, allocations: 352.2 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5981, allocations: 0.6887 MB / 1.225 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.5983, allocations: 20.55 kB / 1.225 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.5984, allocations: 23.38 kB / 1.225 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.5984, allocations: 0 / 1.225 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of Templates: time 0.6887/1.287, allocations: 24.21 MB / 1.249 GB, free: 181.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)