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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001364/0.001364, allocations: 196.2 kB / 16.14 MB, free: 6.703 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.528/1.528, allocations: 205.1 MB / 222 MB, free: 4.742 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.701/1.701, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001339/0.001339, allocations: 71.7 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2571, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004139/0.2613, allocations: 2.481 MB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.2636, allocations: 1.399 MB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.2638, allocations: 7.875 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.2645, allocations: 235.5 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.2648, allocations: 135.4 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.2652, allocations: 142.3 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.2656, allocations: 326.8 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.266, allocations: 92.69 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.2661, allocations: 119.4 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.2663, allocations: 159.2 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.2664, allocations: 8 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2665, allocations: 47.98 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.2667, allocations: 123.5 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.2669, allocations: 170.6 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.2674, allocations: 486.1 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2674, allocations: 4 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2675, allocations: 4 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2675, allocations: 0 / 0.7884 GB, free: 8.078 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.001223/0.2687, allocations: 0.8045 MB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2687, allocations: 8.031 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.743e-05/0.2688, allocations: 56.28 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.2694, allocations: 431.8 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.2694, allocations: 12.36 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.2694, allocations: 19.94 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.2697, allocations: 133.5 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2697, allocations: 0 / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.2698, allocations: 8 kB / 0.7899 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2698, allocations: 3.984 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.27, allocations: 83.95 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.2709, allocations: 0.6368 MB / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.2713, allocations: 138.6 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/0.2714, allocations: 48.88 kB / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.2715, allocations: 4 kB / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.2717, allocations: 111.2 kB / 0.7908 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.2717, allocations: 0 / 0.7908 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0004391/0.2722, allocations: 212.8 kB / 0.7911 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2722, allocations: 51.41 kB / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.273, allocations: 0.6437 MB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.273, allocations: 33.7 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.2732, allocations: 264.3 kB / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.2733, allocations: 35.56 kB / 0.792 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.2734, allocations: 57.69 kB / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2735, allocations: 370.7 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.2737, allocations: 79.95 kB / 0.7925 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.2739, allocations: 122.2 kB / 0.7926 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.2741, allocations: 132.2 kB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2741, allocations: 8.031 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003784/0.2745, allocations: 264.8 kB / 0.793 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2745, allocations: 4 kB / 0.793 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2745, allocations: 3.984 kB / 0.793 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2745, allocations: 4 kB / 0.793 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.2747, allocations: 35.98 kB / 0.7931 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2747, allocations: 4 kB / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.2749, allocations: 23.89 kB / 0.7931 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.2749, allocations: 16.02 kB / 0.7931 GB, free: 3.023 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.0001953/0.2751, allocations: 201.7 kB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.2752, allocations: 51.34 kB / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.878e-05/0.2753, allocations: 60.66 kB / 0.7934 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2753, allocations: 3.984 kB / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2753, allocations: 4 kB / 0.7934 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2753, allocations: 0 / 0.7934 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.2757, allocations: 377.2 kB / 0.7938 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2757, allocations: 0 / 0.7938 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.2757, allocations: 15.94 kB / 0.7938 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2757, allocations: 4 kB / 0.7938 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.2758, allocations: 4 kB / 0.7938 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2758, allocations: 0 / 0.7938 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2758, allocations: 3.984 kB / 0.7938 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.2762, allocations: 256.3 kB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2763, allocations: 128.4 kB / 0.7942 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.2764, allocations: 8.062 kB / 0.7942 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2765, allocations: 11.98 kB / 0.7942 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.2766, allocations: 19.97 kB / 0.7942 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2766, allocations: 7.984 kB / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004748/0.2771, allocations: 430.8 kB / 0.7946 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2771, allocations: 0 / 0.7946 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002813/0.2774, allocations: 67.83 kB / 0.7947 GB, free: 1.309 MB / 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.0009864/0.2784, allocations: 431.2 kB / 0.7951 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.2787, allocations: 151.9 kB / 0.7953 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2787, allocations: 0 / 0.7953 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.2788, allocations: 51.98 kB / 0.7953 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.2792, allocations: 70.89 kB / 0.7954 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2805, allocations: 0.963 MB / 0.7963 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.2809, allocations: 0.8497 MB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.2811, allocations: 46.25 kB / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.2811, allocations: 31.44 kB / 0.7972 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2811, allocations: 0 / 0.7972 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.007518/0.2887, allocations: 3.746 MB / 0.8009 GB, free: 11.11 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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)