Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.0009229, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009954/0.0009954, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004975, allocations: 17.69 kB / 0.6736 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002614/0.2417, allocations: 2.039 MB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.2435, allocations: 1.306 MB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.2437, allocations: 7.938 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.2442, allocations: 199.2 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.2444, allocations: 143.5 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.2448, allocations: 123.7 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.2451, allocations: 231.5 kB / 0.791 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2452, allocations: 64.64 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.2454, allocations: 123.5 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2456, allocations: 127.4 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.2456, allocations: 4 kB / 0.7914 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.2457, allocations: 43.91 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2458, allocations: 99.66 kB / 0.7915 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.331e-05/0.2459, allocations: 97.39 kB / 0.7916 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.2463, allocations: 383.1 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2463, allocations: 4 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2463, allocations: 0 / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2463, allocations: 0 / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009788/0.2473, allocations: 0.7427 MB / 0.7927 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2473, allocations: 12.03 kB / 0.7927 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.2474, allocations: 59.2 kB / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.2479, allocations: 387.3 kB / 0.7931 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2479, allocations: 12.22 kB / 0.7931 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.248, allocations: 19.94 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.2482, allocations: 134.3 kB / 0.7933 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2482, allocations: 0 / 0.7933 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.2483, allocations: 11.98 kB / 0.7933 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2483, allocations: 4 kB / 0.7933 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.2484, allocations: 87.91 kB / 0.7934 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.2494, allocations: 0.6446 MB / 0.794 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.2497, allocations: 138.6 kB / 0.7941 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.2498, allocations: 4.031 kB / 0.7941 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.25, allocations: 107.5 kB / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.25, allocations: 3.938 kB / 0.7942 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0003927/0.2504, allocations: 205 kB / 0.7944 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.2504, allocations: 51.41 kB / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.2511, allocations: 0.6553 MB / 0.7951 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.2511, allocations: 25.7 kB / 0.7952 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.2513, allocations: 264.3 kB / 0.7954 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.2513, allocations: 39.55 kB / 0.7954 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.2514, allocations: 4 kB / 0.7954 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2515, allocations: 366.7 kB / 0.7958 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.2516, allocations: 75.97 kB / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2518, allocations: 126.2 kB / 0.796 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.2519, allocations: 75.86 kB / 0.7961 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2519, allocations: 0 / 0.7961 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003577/0.2523, allocations: 271.3 kB / 0.7963 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2523, allocations: 4 kB / 0.7963 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2523, allocations: 4 kB / 0.7963 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2523, allocations: 0 / 0.7963 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.2525, allocations: 39.91 kB / 0.7964 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.2525, allocations: 12.05 kB / 0.7964 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.2527, allocations: 31.83 kB / 0.7964 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.2527, allocations: 12 kB / 0.7964 GB, free: 2.141 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.2529, allocations: 205.7 kB / 0.7966 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.253, allocations: 51.34 kB / 0.7967 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.533e-05/0.2531, allocations: 64.66 kB / 0.7967 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2531, allocations: 0 / 0.7967 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2531, allocations: 0 / 0.7967 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2531, allocations: 0 / 0.7967 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.2534, allocations: 373.4 kB / 0.7971 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2534, allocations: 0 / 0.7971 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.2535, allocations: 11.98 kB / 0.7971 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2535, allocations: 0 / 0.7971 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2535, allocations: 8 kB / 0.7971 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2535, allocations: 0 / 0.7971 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2535, allocations: 3.938 kB / 0.7971 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.2539, allocations: 264.2 kB / 0.7974 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.254, allocations: 132.4 kB / 0.7975 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.2541, allocations: 11.94 kB / 0.7975 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2542, allocations: 15.98 kB / 0.7975 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.2543, allocations: 24.03 kB / 0.7975 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2543, allocations: 7.984 kB / 0.7975 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004088/0.2547, allocations: 426.8 kB / 0.7979 GB, free: 492 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2547, allocations: 0 / 0.7979 GB, free: 492 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002606/0.255, allocations: 56 kB / 0.798 GB, free: 436 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008645/0.2559, allocations: 432.4 kB / 0.7984 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.2562, allocations: 155.9 kB / 0.7986 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2562, allocations: 0 / 0.7986 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2563, allocations: 51.98 kB / 0.7986 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2567, allocations: 70.84 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2578, allocations: 0.9323 MB / 0.7996 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.2582, allocations: 0.8723 MB / 0.8004 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.2584, allocations: 38.27 kB / 0.8005 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.2584, allocations: 23.44 kB / 0.8005 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2584, allocations: 4 kB / 0.8005 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of Templates: time 0.007392/0.2658, allocations: 3.618 MB / 0.804 GB, free: 10.37 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) Environment - environmentSimulation: