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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 188.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.788/1.788, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001483/0.001483, allocations: 70.95 kB / 0.6718 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2562, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004012/0.2603, allocations: 2.44 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2625, allocations: 1.434 MB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.2627, allocations: 4 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007103/0.2635, allocations: 227.4 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000398/0.2639, allocations: 155.2 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.2643, allocations: 162.7 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.2648, allocations: 346.9 kB / 0.7883 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.265, allocations: 96.69 kB / 0.7884 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.2652, allocations: 139.3 kB / 0.7885 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.2653, allocations: 147.3 kB / 0.7886 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.2654, allocations: 24 kB / 0.7887 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2655, allocations: 67.91 kB / 0.7887 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2657, allocations: 119.6 kB / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.2658, allocations: 198.6 kB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.2663, allocations: 0.4942 MB / 0.7895 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2664, allocations: 0 / 0.7895 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2664, allocations: 4 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2664, allocations: 0 / 0.7895 GB, free: 7.199 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.001144/0.2675, allocations: 0.8122 MB / 0.7903 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.2676, allocations: 8.031 kB / 0.7903 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.2676, allocations: 42.75 kB / 0.7904 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.2677, allocations: 60.19 kB / 0.7904 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.2683, allocations: 427.8 kB / 0.7908 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.2683, allocations: 12.12 kB / 0.7908 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.2684, allocations: 12 kB / 0.7908 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.2687, allocations: 138.8 kB / 0.791 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2687, allocations: 0 / 0.791 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.2687, allocations: 8 kB / 0.791 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2687, allocations: 0 / 0.791 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.2689, allocations: 83.95 kB / 0.7911 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.2698, allocations: 0.6484 MB / 0.7917 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.2702, allocations: 126.7 kB / 0.7918 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.2703, allocations: 48.78 kB / 0.7919 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2704, allocations: 4 kB / 0.7919 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2706, allocations: 115.1 kB / 0.792 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.2706, allocations: 3.938 kB / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.000434/0.271, allocations: 208.9 kB / 0.7922 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.2711, allocations: 59.41 kB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/0.2718, allocations: 0.6398 MB / 0.7929 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.2719, allocations: 33.7 kB / 0.7929 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.272, allocations: 260.3 kB / 0.7931 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.2721, allocations: 39.53 kB / 0.7932 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.2722, allocations: 57.69 kB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2723, allocations: 370.7 kB / 0.7936 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2725, allocations: 75.91 kB / 0.7937 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.2727, allocations: 126.6 kB / 0.7938 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.2729, allocations: 128.5 kB / 0.7939 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2729, allocations: 0 / 0.7939 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003798/0.2733, allocations: 267.2 kB / 0.7942 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2733, allocations: 8 kB / 0.7942 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2733, allocations: 64 / 0.7942 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2733, allocations: 4 kB / 0.7942 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2735, allocations: 47.91 kB / 0.7942 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2735, allocations: 0 / 0.7942 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.2737, allocations: 19.89 kB / 0.7942 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2737, allocations: 8 kB / 0.7942 GB, free: 2.105 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.2739, allocations: 205.7 kB / 0.7944 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.274, allocations: 59.34 kB / 0.7945 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.2741, allocations: 52.66 kB / 0.7945 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2741, allocations: 4 kB / 0.7945 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2741, allocations: 7.938 kB / 0.7946 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2741, allocations: 0 / 0.7946 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.2744, allocations: 377.2 kB / 0.7949 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2744, allocations: 0 / 0.7949 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.2745, allocations: 19.92 kB / 0.7949 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2745, allocations: 0 / 0.7949 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2745, allocations: 0 / 0.7949 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2746, allocations: 0 / 0.7949 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2746, allocations: 8 kB / 0.7949 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.275, allocations: 256.3 kB / 0.7952 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.2751, allocations: 120.5 kB / 0.7953 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.2751, allocations: 15.92 kB / 0.7953 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2753, allocations: 7.984 kB / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.2753, allocations: 23.97 kB / 0.7953 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.2754, allocations: 8.062 kB / 0.7954 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004498/0.2758, allocations: 430.8 kB / 0.7958 GB, free: 460 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2758, allocations: 3.938 kB / 0.7958 GB, free: 456 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002858/0.2761, allocations: 67.78 kB / 0.7958 GB, free: 388 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 (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.001621/0.2777, allocations: 1.117 MB / 0.7969 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.2781, allocations: 155.9 kB / 0.7971 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2781, allocations: 0 / 0.7971 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2782, allocations: 55.97 kB / 0.7971 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.2786, allocations: 72.33 kB / 0.7972 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.2832, allocations: 3.793 MB / 0.8009 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.2837, allocations: 0.8544 MB / 0.8017 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.2839, allocations: 42.27 kB / 0.8018 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.2841, allocations: 163.4 kB / 0.8019 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.2841, allocations: 0 / 0.8019 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3129, allocations: 9.095 MB / 0.8108 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.155, allocations: 15.97 kB / 0.8108 GB, free: 1.203 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)