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.001644/0.001644, 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.002375/0.002375, allocations: 190.1 kB / 16.63 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.866/1.866, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.002638/0.002638, allocations: 68.64 kB / 0.6723 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2851, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004249/0.2894, allocations: 2.43 MB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2914, allocations: 1.426 MB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2916, allocations: 4 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.2923, allocations: 235.3 kB / 0.7881 GB, free: 8.613 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.0003661/0.2927, allocations: 151.2 kB / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.293, allocations: 166.3 kB / 0.7884 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.2934, allocations: 346.9 kB / 0.7887 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2936, allocations: 92.64 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2938, allocations: 139.3 kB / 0.789 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.294, allocations: 155.3 kB / 0.7891 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.2941, allocations: 24 kB / 0.7891 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2942, allocations: 59.98 kB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2943, allocations: 127.5 kB / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.2945, allocations: 190.6 kB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.2951, allocations: 0.4981 MB / 0.79 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2951, allocations: 11.98 kB / 0.79 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2951, allocations: 0 / 0.79 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.066e-06/0.2951, allocations: 0 / 0.79 GB, free: 6.676 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.001096/0.2962, allocations: 0.8005 MB / 0.7908 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2962, allocations: 12.03 kB / 0.7908 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.2963, allocations: 52.28 kB / 0.7908 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.2968, allocations: 427.8 kB / 0.7912 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2969, allocations: 12.38 kB / 0.7913 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.2969, allocations: 19.88 kB / 0.7913 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.2972, allocations: 134.8 kB / 0.7914 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2972, allocations: 0 / 0.7914 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.2972, allocations: 7.984 kB / 0.7914 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2972, allocations: 4 kB / 0.7914 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2974, allocations: 83.95 kB / 0.7915 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009209/0.2983, allocations: 0.6329 MB / 0.7921 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.2987, allocations: 142.6 kB / 0.7923 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/0.2988, allocations: 52.78 kB / 0.7923 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2988, allocations: 0 / 0.7923 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.299, allocations: 103.4 kB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.2991, allocations: 3.938 kB / 0.7924 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0004176/0.2995, allocations: 212.8 kB / 0.7926 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2995, allocations: 51.41 kB / 0.7927 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.3002, allocations: 0.6515 MB / 0.7933 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.3003, allocations: 29.7 kB / 0.7933 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3005, allocations: 264.3 kB / 0.7936 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.3005, allocations: 39.55 kB / 0.7936 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.3006, allocations: 49.7 kB / 0.7937 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3008, allocations: 370.8 kB / 0.794 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3009, allocations: 79.97 kB / 0.7941 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.3011, allocations: 127.3 kB / 0.7942 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.3013, allocations: 128.6 kB / 0.7943 GB, free: 2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3014, allocations: 4 kB / 0.7943 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004028/0.3018, allocations: 268.7 kB / 0.7946 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3018, allocations: 7.984 kB / 0.7946 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3018, allocations: 0 / 0.7946 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3018, allocations: 8.062 kB / 0.7946 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.302, allocations: 35.98 kB / 0.7946 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.302, allocations: 4 kB / 0.7946 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3022, allocations: 27.88 kB / 0.7947 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.3022, allocations: 4 kB / 0.7947 GB, free: 1.641 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.0002229/0.3024, allocations: 205.7 kB / 0.7949 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.3025, allocations: 51.34 kB / 0.7949 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.3026, allocations: 60.66 kB / 0.795 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3026, allocations: 3.984 kB / 0.795 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3026, allocations: 4 kB / 0.795 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3026, allocations: 0 / 0.795 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.3031, allocations: 377.2 kB / 0.7953 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3031, allocations: 0 / 0.7953 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.3032, allocations: 15.94 kB / 0.7954 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3032, allocations: 7.938 kB / 0.7954 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3032, allocations: 0 / 0.7954 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3032, allocations: 3.984 kB / 0.7954 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3032, allocations: 0 / 0.7954 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.3036, allocations: 260.7 kB / 0.7956 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.3037, allocations: 128.5 kB / 0.7957 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.3038, allocations: 4 kB / 0.7957 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.3039, allocations: 11.98 kB / 0.7958 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.304, allocations: 23.97 kB / 0.7958 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.304, allocations: 4 kB / 0.7958 GB, free: 416 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004671/0.3045, allocations: 434.9 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.553e-06/0.3045, allocations: 0 / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000283/0.3048, allocations: 75.77 kB / 0.7963 GB, free: 15.91 MB / 0.6231 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.0009848/0.3058, allocations: 417.1 kB / 0.7967 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.3062, allocations: 150.1 kB / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3062, allocations: 64 / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3063, allocations: 67.84 kB / 0.7969 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.3068, allocations: 88.44 kB / 0.797 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.3082, allocations: 0.8215 MB / 0.7978 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.3087, allocations: 0.8579 MB / 0.7986 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.3088, allocations: 38.28 kB / 0.7986 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.3089, allocations: 31.42 kB / 0.7987 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of SimCode: time 1.733e-06/0.3089, allocations: 0 / 0.7987 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.009275/0.3182, allocations: 4.029 MB / 0.8026 GB, free: 9.559 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)