Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.009482/0.009482, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.002652/0.002652, allocations: 201.5 kB / 16.68 MB, free: 5.973 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.625/1.625, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.001395/0.001395, allocations: 70.09 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2867, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005165/0.2919, allocations: 2.352 MB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.2943, allocations: 1.253 MB / 0.8316 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.2945, allocations: 4 kB / 0.8316 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.2953, allocations: 215 kB / 0.8318 GB, free: 12.36 MB / 0.6544 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.0005373/0.2959, allocations: 147.2 kB / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.2964, allocations: 143.6 kB / 0.8321 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.297, allocations: 314.9 kB / 0.8324 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.2973, allocations: 84.45 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.2977, allocations: 135.5 kB / 0.8326 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.298, allocations: 147.2 kB / 0.8327 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.681e-05/0.2981, allocations: 20 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.2983, allocations: 47.98 kB / 0.8328 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.2985, allocations: 123.6 kB / 0.8329 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.2988, allocations: 178.7 kB / 0.8331 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008224/0.2996, allocations: 478.2 kB / 0.8335 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.2997, allocations: 4 kB / 0.8335 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2997, allocations: 0 / 0.8335 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.674e-05/0.2997, allocations: 0 / 0.8335 GB, free: 10.57 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001839/0.3015, allocations: 0.7773 MB / 0.8343 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3016, allocations: 8.031 kB / 0.8343 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.3018, allocations: 52.28 kB / 0.8343 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.3025, allocations: 411.7 kB / 0.8347 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.3026, allocations: 16.25 kB / 0.8347 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.3026, allocations: 20.12 kB / 0.8348 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.3029, allocations: 123.4 kB / 0.8349 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3029, allocations: 0 / 0.8349 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.303, allocations: 4 kB / 0.8349 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.303, allocations: 4 kB / 0.8349 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.3032, allocations: 75.95 kB / 0.835 GB, free: 9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3044, allocations: 0.6056 MB / 0.8356 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.3048, allocations: 130.6 kB / 0.8357 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.3049, allocations: 48.84 kB / 0.8357 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.3049, allocations: 7.938 kB / 0.8357 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.3052, allocations: 99.36 kB / 0.8358 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 2.365e-06/0.3052, allocations: 0 / 0.8358 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0004857/0.3057, allocations: 204.8 kB / 0.836 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3057, allocations: 59.41 kB / 0.8361 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.3064, allocations: 0.624 MB / 0.8367 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3065, allocations: 37.69 kB / 0.8367 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.3067, allocations: 244.3 kB / 0.837 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.3068, allocations: 39.55 kB / 0.837 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3069, allocations: 49.92 kB / 0.837 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3071, allocations: 366.8 kB / 0.8374 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.3072, allocations: 79.91 kB / 0.8375 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3074, allocations: 117.8 kB / 0.8376 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.3076, allocations: 126.3 kB / 0.8377 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3077, allocations: 3.938 kB / 0.8377 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004342/0.3081, allocations: 272.7 kB / 0.838 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.3081, allocations: 4 kB / 0.838 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3081, allocations: 0 / 0.838 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3082, allocations: 4 kB / 0.838 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3083, allocations: 39.98 kB / 0.838 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3083, allocations: 0 / 0.838 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3085, allocations: 23.89 kB / 0.838 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3085, allocations: 8 kB / 0.838 GB, free: 5.699 MB / 0.6544 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.0002265/0.3088, allocations: 202.2 kB / 0.8382 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.3088, allocations: 55.28 kB / 0.8383 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.53e-05/0.3089, allocations: 56.5 kB / 0.8383 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3089, allocations: 4 kB / 0.8383 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.309, allocations: 3.984 kB / 0.8384 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.309, allocations: 0 / 0.8384 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.3093, allocations: 369.3 kB / 0.8387 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.3093, allocations: 3.984 kB / 0.8387 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.3094, allocations: 11.94 kB / 0.8387 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3094, allocations: 0 / 0.8387 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.3094, allocations: 8 kB / 0.8387 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3094, allocations: 0 / 0.8387 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3094, allocations: 0 / 0.8387 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.3099, allocations: 252.3 kB / 0.839 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.31, allocations: 120.4 kB / 0.8391 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.31, allocations: 8 kB / 0.8391 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3101, allocations: 15.98 kB / 0.8391 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.3102, allocations: 19.97 kB / 0.8391 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3103, allocations: 4 kB / 0.8391 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004483/0.3107, allocations: 418.8 kB / 0.8395 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3107, allocations: 0 / 0.8395 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002936/0.311, allocations: 55.84 kB / 0.8396 GB, free: 4.031 MB / 0.6544 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.0009846/0.312, allocations: 424.8 kB / 0.84 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.3124, allocations: 147.8 kB / 0.8401 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3124, allocations: 4 kB / 0.8401 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3125, allocations: 52.05 kB / 0.8402 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3129, allocations: 65.44 kB / 0.8402 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3141, allocations: 0.7903 MB / 0.841 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3146, allocations: 0.8531 MB / 0.8418 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.3147, allocations: 34.28 kB / 0.8419 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.3148, allocations: 27.42 kB / 0.8419 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.3148, allocations: 0 / 0.8419 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of Templates: time 0.008964/0.3238, allocations: 3.651 MB / 0.8455 GB, free: 14.12 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)