Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.346/2.346, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 192.6 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 103.7 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 52.17 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3211, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002276/0.3234, allocations: 1.323 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1302/0.4537, allocations: 135.7 MB / 1.352 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.4538, allocations: 3.938 kB / 1.352 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.4539, allocations: 3.984 kB / 1.352 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.4539, allocations: 7.938 kB / 1.352 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.4551, allocations: 374.7 kB / 1.352 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.188e-05/0.4552, allocations: 43.8 kB / 1.352 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.4553, allocations: 4 kB / 1.352 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.4553, allocations: 23.97 kB / 1.352 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.4554, allocations: 23.91 kB / 1.352 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4554, allocations: 4 kB / 1.352 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.4567, allocations: 0.8153 MB / 1.353 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.4568, allocations: 11.97 kB / 1.353 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.4568, allocations: 15.94 kB / 1.353 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.4574, allocations: 449.2 kB / 1.354 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4574, allocations: 0 / 1.354 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4574, allocations: 0 / 1.354 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4574, allocations: 0 / 1.354 GB, free: 9.918 MB / 0.8542 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.000515/0.458, allocations: 371.4 kB / 1.354 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.458, allocations: 19.92 kB / 1.354 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.4582, allocations: 12.92 kB / 1.354 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.4583, allocations: 164.4 kB / 1.354 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4583, allocations: 384 / 1.354 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.4584, allocations: 12.12 kB / 1.354 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.4585, allocations: 57.66 kB / 1.354 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4585, allocations: 0 / 1.354 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4586, allocations: 3.984 kB / 1.354 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4586, allocations: 4 kB / 1.354 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.4586, allocations: 23.92 kB / 1.354 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.4588, allocations: 169.5 kB / 1.354 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/0.459, allocations: 50.56 kB / 1.354 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.459, allocations: 16.8 kB / 1.354 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.4698, allocations: 3.178 MB / 1.358 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.4699, allocations: 34.55 kB / 1.358 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.4699, allocations: 0 / 1.358 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.04124/0.5112, allocations: 14.85 MB / 1.372 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.5113, allocations: 59.34 kB / 1.372 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.5113, allocations: 97.86 kB / 1.372 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5114, allocations: 25.7 kB / 1.372 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.5114, allocations: 80.14 kB / 1.372 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.5115, allocations: 43.36 kB / 1.372 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.5115, allocations: 37.64 kB / 1.372 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5116, allocations: 314.8 kB / 1.373 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.5117, allocations: 27.98 kB / 1.373 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.226e-05/0.5117, allocations: 20 kB / 1.373 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.5119, allocations: 64.97 kB / 1.373 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5119, allocations: 0 / 1.373 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002017/0.5121, allocations: 109.6 kB / 1.373 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5121, allocations: 4 kB / 1.373 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5121, allocations: 4 kB / 1.373 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5121, allocations: 0 / 1.373 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5122, allocations: 23.98 kB / 1.373 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.5123, allocations: 7.984 kB / 1.373 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.5123, allocations: 4 kB / 1.373 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.5123, allocations: 4 kB / 1.373 GB, free: 5.598 MB / 0.8698 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.567e-05/0.5124, allocations: 122.4 kB / 1.373 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.5125, allocations: 7.906 kB / 1.373 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.5127, allocations: 125.4 kB / 1.373 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5127, allocations: 0 / 1.373 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5127, allocations: 0 / 1.373 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5127, allocations: 4 kB / 1.373 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.5129, allocations: 181.6 kB / 1.373 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5129, allocations: 0 / 1.373 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.513, allocations: 23.98 kB / 1.373 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.513, allocations: 4 kB / 1.373 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.513, allocations: 7.938 kB / 1.373 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5131, allocations: 0 / 1.373 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5131, allocations: 3.938 kB / 1.373 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.371/1.884, allocations: 174.9 MB / 1.544 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/1.884, allocations: 85.33 kB / 1.544 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/1.884, allocations: 11.83 kB / 1.544 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/1.884, allocations: 12 kB / 1.544 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/1.884, allocations: 16.47 kB / 1.544 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.884, allocations: 7.938 kB / 1.544 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.526e-05/1.884, allocations: 79.28 kB / 1.544 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.21e-07/1.884, allocations: 3.938 kB / 1.544 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001675/1.886, allocations: 0.6144 MB / 1.545 GB, free: 100.6 MB / 0.9167 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.002911/1.889, allocations: 412.7 kB / 1.545 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001886/1.889, allocations: 63.81 kB / 1.546 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.889, allocations: 0 / 1.546 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.332e-05/1.889, allocations: 35.98 kB / 1.546 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/1.889, allocations: 11.56 kB / 1.546 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/1.89, allocations: 499.7 kB / 1.546 GB, free: 99.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/1.89, allocations: 0.6962 MB / 1.547 GB, free: 98.91 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.833e-05/1.89, allocations: 20.55 kB / 1.547 GB, free: 98.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/1.89, allocations: 19.44 kB / 1.547 GB, free: 98.87 MB / 0.9167 GB Notification: Performance of SimCode: time 2e-07/1.89, allocations: 0 / 1.547 GB, free: 98.87 MB / 0.9167 GB Notification: Performance of Templates: time 0.02982/1.92, allocations: 24.76 MB / 1.571 GB, free: 74.12 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)