Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.753/2.753, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.001317, allocations: 178.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001031, allocations: 91.72 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005118, allocations: 16.72 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003177/0.2309, allocations: 2.054 MB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.2336, allocations: 1.317 MB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.2338, allocations: 7.938 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.2345, allocations: 207.1 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.235, allocations: 127.4 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.2357, allocations: 129.9 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.2362, allocations: 298.9 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.2364, allocations: 72.67 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.2366, allocations: 111.4 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2368, allocations: 127.4 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.2369, allocations: 8 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.2371, allocations: 47.91 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2373, allocations: 107.6 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.2374, allocations: 93.45 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.2378, allocations: 379.1 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2379, allocations: 7.938 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2379, allocations: 3.938 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2379, allocations: 0 / 0.9834 GB, free: 23.17 MB / 0.6198 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.001417/0.2393, allocations: 0.737 MB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.2394, allocations: 12.02 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.807e-05/0.2395, allocations: 46.55 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2396, allocations: 63.2 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/0.2402, allocations: 395.2 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2403, allocations: 8.234 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.2403, allocations: 12 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.2407, allocations: 134.3 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2407, allocations: 0 / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.2407, allocations: 12 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2408, allocations: 11.94 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.241, allocations: 92.77 kB / 0.9849 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2424, allocations: 0.6447 MB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.2429, allocations: 134.7 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2431, allocations: 48.84 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.2431, allocations: 0 / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.2434, allocations: 99.36 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.234e-06/0.2434, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005962/0.244, allocations: 220.7 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.2441, allocations: 63.36 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.245, allocations: 0.6398 MB / 0.9867 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.245, allocations: 37.69 kB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.2453, allocations: 256.3 kB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.2453, allocations: 39.55 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.2454, allocations: 0 / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2455, allocations: 370.8 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.2457, allocations: 75.97 kB / 0.9874 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2459, allocations: 116.7 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.2462, allocations: 68 kB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2462, allocations: 0 / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005689/0.2468, allocations: 276.6 kB / 0.9878 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2468, allocations: 8 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2468, allocations: 0 / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2468, allocations: 4.062 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.2472, allocations: 39.92 kB / 0.9879 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.2472, allocations: 0 / 0.9879 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.2475, allocations: 43.77 kB / 0.9879 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.2476, allocations: 11.94 kB / 0.9879 GB, free: 18.27 MB / 0.6198 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.0002827/0.2479, allocations: 202.2 kB / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.248, allocations: 51.34 kB / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.2481, allocations: 64.59 kB / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2481, allocations: 4 kB / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2481, allocations: 0 / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2481, allocations: 0 / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.2485, allocations: 373.3 kB / 0.9886 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2486, allocations: 0 / 0.9886 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.2487, allocations: 8 kB / 0.9886 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2487, allocations: 4 kB / 0.9886 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.2487, allocations: 11.98 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2487, allocations: 0 / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2487, allocations: 0 / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.2493, allocations: 256.2 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2495, allocations: 132.4 kB / 0.989 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.2495, allocations: 8 kB / 0.989 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.2498, allocations: 20.05 kB / 0.989 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2499, allocations: 27.89 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.2499, allocations: 4 kB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006317/0.2506, allocations: 430.8 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2506, allocations: 0 / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003869/0.251, allocations: 56 kB / 0.9895 GB, free: 16.55 MB / 0.6198 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.001923/0.2529, allocations: 1.133 MB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000495/0.2534, allocations: 151.9 kB / 0.9908 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2535, allocations: 0 / 0.9908 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.2536, allocations: 51.98 kB / 0.9908 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.2543, allocations: 70.95 kB / 0.9909 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.2598, allocations: 2.906 MB / 0.9937 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.2602, allocations: 0.857 MB / 0.9946 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002297/0.2605, allocations: 50.25 kB / 0.9946 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.2607, allocations: 159.4 kB / 0.9948 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.372e-06/0.2608, allocations: 0 / 0.9948 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.2961, allocations: 8.932 MB / 1.003 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.2963, allocations: 232 kB / 1.004 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/3.293, allocations: 0 / 1.004 GB, free: 2.215 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)