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.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 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.001243/0.001242, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.62/1.62, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.829/1.829, allocations: 292.3 MB / 0.5488 GB, free: 12.82 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.001424/0.001424, allocations: 74.34 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2612, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005027/0.2663, allocations: 2.44 MB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.2689, allocations: 1.426 MB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.2692, allocations: 4 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007548/0.27, allocations: 231.3 kB / 0.7874 GB, free: 9.367 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.0004713/0.2705, allocations: 151.2 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.271, allocations: 166.9 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.2715, allocations: 342.9 kB / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.2717, allocations: 92.7 kB / 0.7881 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.2719, allocations: 135.4 kB / 0.7882 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2722, allocations: 155.3 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.2722, allocations: 20 kB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.2724, allocations: 71.91 kB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2726, allocations: 119.6 kB / 0.7886 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.2727, allocations: 202.5 kB / 0.7888 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.2733, allocations: 494.1 kB / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2733, allocations: 0 / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2733, allocations: 4 kB / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2733, allocations: 0 / 0.7892 GB, free: 7.449 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.001245/0.2746, allocations: 0.8006 MB / 0.79 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2746, allocations: 16.02 kB / 0.79 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2747, allocations: 52.28 kB / 0.7901 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.2752, allocations: 427.8 kB / 0.7905 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2753, allocations: 12.38 kB / 0.7905 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.2753, allocations: 19.94 kB / 0.7905 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.2756, allocations: 130.8 kB / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2756, allocations: 0 / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.2757, allocations: 12 kB / 0.7907 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2757, allocations: 11.88 kB / 0.7907 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.2759, allocations: 79.95 kB / 0.7907 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.277, allocations: 0.6329 MB / 0.7914 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.2775, allocations: 138.6 kB / 0.7915 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.2776, allocations: 44.84 kB / 0.7915 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.2776, allocations: 8 kB / 0.7915 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.2779, allocations: 99.36 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.2779, allocations: 0 / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0004731/0.2784, allocations: 220.8 kB / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.2785, allocations: 59.34 kB / 0.7919 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007574/0.2792, allocations: 0.6398 MB / 0.7925 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.2793, allocations: 41.69 kB / 0.7926 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.2795, allocations: 256.3 kB / 0.7928 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.2795, allocations: 39.53 kB / 0.7929 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.2796, allocations: 53.69 kB / 0.7929 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.2799, allocations: 366.8 kB / 0.7933 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.28, allocations: 79.97 kB / 0.7933 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.2802, allocations: 122.2 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.2804, allocations: 136.6 kB / 0.7936 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2804, allocations: 0 / 0.7936 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004331/0.2809, allocations: 263.3 kB / 0.7938 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2809, allocations: 4 kB / 0.7938 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2809, allocations: 0 / 0.7938 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2809, allocations: 7.984 kB / 0.7938 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2811, allocations: 43.91 kB / 0.7939 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2811, allocations: 8.062 kB / 0.7939 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.2813, allocations: 23.89 kB / 0.7939 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.2814, allocations: 4 kB / 0.7939 GB, free: 2.414 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.0002209/0.2816, allocations: 209.7 kB / 0.7941 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.2816, allocations: 55.28 kB / 0.7942 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.111e-05/0.2817, allocations: 56.66 kB / 0.7942 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2817, allocations: 0 / 0.7942 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2818, allocations: 8 kB / 0.7942 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2818, allocations: 0 / 0.7942 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.2821, allocations: 377.2 kB / 0.7946 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2821, allocations: 0 / 0.7946 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.2822, allocations: 11.98 kB / 0.7946 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2822, allocations: 4 kB / 0.7946 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2822, allocations: 0 / 0.7946 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2823, allocations: 0 / 0.7946 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2823, allocations: 0 / 0.7946 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.2827, allocations: 276.7 kB / 0.7949 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2828, allocations: 120.5 kB / 0.795 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.2829, allocations: 4 kB / 0.795 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.283, allocations: 19.97 kB / 0.795 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.2831, allocations: 19.97 kB / 0.795 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2831, allocations: 4 kB / 0.795 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000468/0.2836, allocations: 430.8 kB / 0.7954 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2836, allocations: 0 / 0.7954 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002888/0.2839, allocations: 67.91 kB / 0.7955 GB, free: 0.6914 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.0009984/0.2849, allocations: 421.7 kB / 0.7959 GB, free: 440 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003627/0.2853, allocations: 163.8 kB / 0.7961 GB, free: 276 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2853, allocations: 0 / 0.7961 GB, free: 276 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2854, allocations: 55.97 kB / 0.7961 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.2859, allocations: 88.08 kB / 0.7962 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2872, allocations: 0.8448 MB / 0.797 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.2877, allocations: 0.8577 MB / 0.7979 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.2878, allocations: 34.28 kB / 0.7979 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/0.2879, allocations: 31.42 kB / 0.7979 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2879, allocations: 0 / 0.7979 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of Templates: time 0.009256/0.2972, allocations: 4.038 MB / 0.8019 GB, free: 10.31 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)