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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.839/2.839, allocations: 287.3 MB / 302.3 MB, free: 8.398 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.001571/0.001571, allocations: 189.5 kB / 370.8 MB, free: 10.84 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.135/2.135, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001129/0.001128, allocations: 95.16 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005104, allocations: 16.78 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2553, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004623/0.26, allocations: 2.031 MB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004266/0.2644, allocations: 1.298 MB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.2648, allocations: 7.938 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.2659, allocations: 203.2 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008299/0.2667, allocations: 139.6 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.2677, allocations: 129.5 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007831/0.2685, allocations: 219.5 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.2688, allocations: 68.64 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.2691, allocations: 123.5 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.2694, allocations: 135.4 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.2695, allocations: 4 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.2698, allocations: 35.92 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.27, allocations: 115.6 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.2702, allocations: 93.39 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007381/0.2709, allocations: 379.1 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.271, allocations: 0 / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.805e-06/0.271, allocations: 0 / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.271, allocations: 0 / 0.983 GB, free: 23.39 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.00199/0.273, allocations: 0.7349 MB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.2731, allocations: 16.02 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.2733, allocations: 59.2 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.2744, allocations: 403.2 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.2744, allocations: 8.234 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.2745, allocations: 16 kB / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.2751, allocations: 130.3 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2751, allocations: 0 / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.2752, allocations: 0 / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2752, allocations: 7.953 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.2756, allocations: 88.83 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.2777, allocations: 0.6486 MB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.2786, allocations: 130.7 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.2787, allocations: 11.98 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.2791, allocations: 99.58 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 5.761e-06/0.2791, allocations: 0 / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0009144/0.28, allocations: 213.2 kB / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.2801, allocations: 55.34 kB / 0.9856 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.2815, allocations: 0.6552 MB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.2816, allocations: 29.7 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.282, allocations: 264.3 kB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.2821, allocations: 35.55 kB / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.2822, allocations: 8 kB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2824, allocations: 366.8 kB / 0.9869 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.2827, allocations: 75.97 kB / 0.9869 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.2831, allocations: 112.7 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.2835, allocations: 71.98 kB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2835, allocations: 4.031 kB / 0.9871 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009536/0.2845, allocations: 272.6 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.2845, allocations: 7.938 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2845, allocations: 0 / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.2846, allocations: 4 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.285, allocations: 39.91 kB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.2851, allocations: 4 kB / 0.9874 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.2856, allocations: 35.86 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.2857, allocations: 15.94 kB / 0.9875 GB, free: 18.59 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.000456/0.2862, allocations: 199.7 kB / 0.9877 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.2863, allocations: 51.34 kB / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.2865, allocations: 56.66 kB / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2865, allocations: 7.938 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2865, allocations: 0 / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2866, allocations: 7.984 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.2871, allocations: 373.4 kB / 0.9881 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2872, allocations: 3.984 kB / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2874, allocations: 8 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-06/0.2874, allocations: 0 / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.2875, allocations: 4 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.2875, allocations: 0 / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2875, allocations: 0 / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.2884, allocations: 272.2 kB / 0.9884 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.2886, allocations: 136.3 kB / 0.9886 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.2887, allocations: 8 kB / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.2891, allocations: 11.98 kB / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.2893, allocations: 27.95 kB / 0.9886 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.2893, allocations: 4 kB / 0.9886 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001597/0.2909, allocations: 422.8 kB / 0.989 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/0.291, allocations: 4.062 kB / 0.989 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001112/0.2921, allocations: 59.98 kB / 0.9891 GB, free: 16.88 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.002276/0.2944, allocations: 433.1 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005609/0.295, allocations: 151.9 kB / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.2951, allocations: 0 / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.2952, allocations: 59.86 kB / 0.9897 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.2958, allocations: 67.41 kB / 0.9897 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2975, allocations: 0.94 MB / 0.9907 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.2979, allocations: 0.8729 MB / 0.9915 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002878/0.2982, allocations: 38.27 kB / 0.9916 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.2984, allocations: 31.42 kB / 0.9916 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.333e-06/0.2984, allocations: 0 / 0.9916 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.01773/0.3161, allocations: 3.608 MB / 0.9951 GB, free: 10.81 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)