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.702/2.702, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001578/0.001577, allocations: 179.2 kB / 370.8 MB, free: 10.87 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.314/2.314, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00122/0.00122, allocations: 97.05 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005539, allocations: 13.08 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2392, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004362/0.2437, allocations: 2.031 MB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003828/0.2476, allocations: 1.302 MB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.2479, allocations: 4 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009881/0.2489, allocations: 203.2 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006401/0.2496, allocations: 147.5 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.2504, allocations: 128.7 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.251, allocations: 223.5 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.2513, allocations: 64.7 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.2516, allocations: 123.5 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.2518, allocations: 131.4 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.2519, allocations: 4 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.2522, allocations: 35.92 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.2524, allocations: 115.6 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2525, allocations: 93.45 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.2532, allocations: 383.1 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2532, allocations: 0 / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2532, allocations: 0 / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.2533, allocations: 0 / 0.9831 GB, free: 23.32 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.001801/0.2551, allocations: 0.7349 MB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.2552, allocations: 16.02 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.347e-05/0.2553, allocations: 46.55 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.2554, allocations: 67.2 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.2564, allocations: 391.2 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.2565, allocations: 12.23 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.128e-05/0.2565, allocations: 15.98 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.2571, allocations: 134.3 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.2572, allocations: 0 / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.2572, allocations: 8 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2572, allocations: 3.953 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.2576, allocations: 88.83 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.2597, allocations: 0.6408 MB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.2606, allocations: 138.6 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.2606, allocations: 3.984 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.2611, allocations: 107.5 kB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 4.128e-06/0.2611, allocations: 3.938 kB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0009071/0.262, allocations: 208.9 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.2621, allocations: 63.34 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.2635, allocations: 0.6475 MB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.2636, allocations: 33.7 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.2639, allocations: 252.3 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.2641, allocations: 39.55 kB / 0.9867 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.2641, allocations: 4 kB / 0.9867 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2643, allocations: 366.8 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.2646, allocations: 71.97 kB / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.265, allocations: 120.7 kB / 0.9872 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.2654, allocations: 71.98 kB / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2654, allocations: 3.938 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009247/0.2663, allocations: 268.6 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.2664, allocations: 8 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2664, allocations: 0 / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.2664, allocations: 4.062 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.2669, allocations: 43.91 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.2669, allocations: 4 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.2674, allocations: 31.78 kB / 0.9876 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.2675, allocations: 12 kB / 0.9876 GB, free: 18.47 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.0004386/0.268, allocations: 205.8 kB / 0.9878 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.2681, allocations: 51.34 kB / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.2683, allocations: 56.66 kB / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.2683, allocations: 0 / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2684, allocations: 3.938 kB / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2684, allocations: 3.984 kB / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.269, allocations: 373.4 kB / 0.9883 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.269, allocations: 0 / 0.9883 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.2692, allocations: 15.98 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.2692, allocations: 0 / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.2693, allocations: 8 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2693, allocations: 0 / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2693, allocations: 0 / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009517/0.2703, allocations: 266.1 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.2705, allocations: 128.4 kB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.2706, allocations: 11.94 kB / 0.9887 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.271, allocations: 24.05 kB / 0.9887 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.2712, allocations: 19.97 kB / 0.9887 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.2712, allocations: 11.98 kB / 0.9887 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001058/0.2723, allocations: 422.8 kB / 0.9891 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2723, allocations: 0 / 0.9891 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007292/0.2731, allocations: 59.94 kB / 0.9892 GB, free: 16.75 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.002855/0.2759, allocations: 1.126 MB / 0.9903 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007589/0.2768, allocations: 151.9 kB / 0.9904 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2768, allocations: 3.938 kB / 0.9905 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.2771, allocations: 55.97 kB / 0.9905 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.2779, allocations: 67.39 kB / 0.9906 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.2812, allocations: 1.401 MB / 0.9919 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.2818, allocations: 0.8652 MB / 0.9928 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003137/0.2822, allocations: 42.28 kB / 0.9928 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.2826, allocations: 159.4 kB / 0.993 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.484e-06/0.2826, allocations: 3.938 kB / 0.993 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/0.3272, allocations: 8.762 MB / 1.002 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/0.3275, allocations: 221 kB / 1.002 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/3.246, allocations: 4 kB / 1.002 GB, free: 4.105 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)