Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 182.2 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001113, allocations: 91.56 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 10.59 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2587, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002658/0.2614, allocations: 1.966 MB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.2635, allocations: 1.137 MB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.2638, allocations: 4 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.2645, allocations: 199.2 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.265, allocations: 131.6 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.2654, allocations: 103.7 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.2658, allocations: 199.6 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.266, allocations: 68.88 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.2662, allocations: 115.5 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.2664, allocations: 131.4 kB / 0.9041 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.2664, allocations: 8 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2666, allocations: 16 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/0.2667, allocations: 111.6 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.2668, allocations: 89.45 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.2671, allocations: 351.4 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2671, allocations: 0 / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2671, allocations: 4 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2671, allocations: 0 / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001103/0.2682, allocations: 0.7192 MB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.2683, allocations: 12.03 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.613e-05/0.2684, allocations: 42.55 kB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.2685, allocations: 59.3 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.269, allocations: 371.2 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2691, allocations: 12 kB / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.2691, allocations: 19.84 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.2694, allocations: 129.5 kB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2695, allocations: 0 / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.2695, allocations: 4 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2695, allocations: 4 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.2697, allocations: 79.86 kB / 0.906 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.2706, allocations: 0.629 MB / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.2709, allocations: 122.7 kB / 0.9068 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.271, allocations: 0 / 0.9068 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.2712, allocations: 99.36 kB / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.2712, allocations: 4 kB / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0003773/0.2716, allocations: 201.1 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2716, allocations: 55.41 kB / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.2722, allocations: 0.6201 MB / 0.9077 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.2722, allocations: 37.69 kB / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.2724, allocations: 244.3 kB / 0.908 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.2724, allocations: 43.53 kB / 0.908 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.2724, allocations: 4 kB / 0.908 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.2725, allocations: 370.7 kB / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2727, allocations: 75.97 kB / 0.9085 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2728, allocations: 115.3 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.2729, allocations: 73.97 kB / 0.9086 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2729, allocations: 0 / 0.9086 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003299/0.2733, allocations: 268.3 kB / 0.9089 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2733, allocations: 4 kB / 0.9089 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2733, allocations: 3.938 kB / 0.9089 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2733, allocations: 4 kB / 0.9089 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.2735, allocations: 31.92 kB / 0.9089 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2735, allocations: 4 kB / 0.9089 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2737, allocations: 31.91 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.2737, allocations: 8.031 kB / 0.909 GB, free: 54.55 MB / 0.6042 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.0001753/0.2739, allocations: 209.7 kB / 0.9092 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2739, allocations: 51.34 kB / 0.9092 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.274, allocations: 60.5 kB / 0.9093 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.274, allocations: 0 / 0.9093 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.274, allocations: 0 / 0.9093 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.274, allocations: 0 / 0.9093 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.2743, allocations: 365.3 kB / 0.9096 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2743, allocations: 4 kB / 0.9096 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.2744, allocations: 11.98 kB / 0.9097 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2744, allocations: 0 / 0.9097 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2744, allocations: 7.938 kB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2744, allocations: 0 / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2744, allocations: 0 / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.2748, allocations: 244.3 kB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.2749, allocations: 124.6 kB / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.2749, allocations: 12.06 kB / 0.91 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.275, allocations: 15.98 kB / 0.91 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.2751, allocations: 23.97 kB / 0.9101 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.2751, allocations: 7.984 kB / 0.9101 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003653/0.2755, allocations: 406.8 kB / 0.9105 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2755, allocations: 0 / 0.9105 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002822/0.2758, allocations: 67.83 kB / 0.9105 GB, free: 52.88 MB / 0.6042 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.001483/0.2773, allocations: 1.096 MB / 0.9116 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.2776, allocations: 147.9 kB / 0.9117 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2776, allocations: 0 / 0.9117 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2777, allocations: 51.98 kB / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2781, allocations: 62.25 kB / 0.9118 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.2795, allocations: 1.343 MB / 0.9132 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2798, allocations: 0.8594 MB / 0.914 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.2799, allocations: 38.27 kB / 0.914 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.28, allocations: 151.4 kB / 0.9142 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2801, allocations: 4 kB / 0.9142 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.3009, allocations: 8.178 MB / 0.9222 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.3011, allocations: 236.4 kB / 0.9224 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/2.492, allocations: 3.938 kB / 0.9224 GB, free: 40.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)