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.008673/0.008673, allocations: 103 kB / 15.73 MB, free: 6.035 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.001705/0.001705, allocations: 190.7 kB / 16.67 MB, free: 5.957 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.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.672/1.672, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001501/0.001501, allocations: 67.91 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2823, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004878/0.2873, allocations: 2.34 MB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2893, allocations: 1.261 MB / 0.8316 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.2895, allocations: 8 kB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006177/0.2901, allocations: 215 kB / 0.8318 GB, free: 12.33 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.0003828/0.2905, allocations: 151.2 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.2908, allocations: 138.3 kB / 0.8321 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.2912, allocations: 315 kB / 0.8324 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.2914, allocations: 84.45 kB / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.2916, allocations: 131.5 kB / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2918, allocations: 147.2 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.2919, allocations: 20 kB / 0.8327 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.292, allocations: 47.98 kB / 0.8328 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.2921, allocations: 115.6 kB / 0.8329 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.2923, allocations: 182.6 kB / 0.8331 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.2928, allocations: 478.2 kB / 0.8335 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2928, allocations: 0 / 0.8335 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2928, allocations: 7.938 kB / 0.8335 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.2928, allocations: 4 kB / 0.8335 GB, free: 10.55 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.001091/0.2939, allocations: 0.7735 MB / 0.8343 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.294, allocations: 12.03 kB / 0.8343 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.2941, allocations: 52.28 kB / 0.8343 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.2946, allocations: 411.6 kB / 0.8347 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.2947, allocations: 8.375 kB / 0.8347 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.2947, allocations: 16.12 kB / 0.8348 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.295, allocations: 132.9 kB / 0.8349 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.295, allocations: 4 kB / 0.8349 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.295, allocations: 4 kB / 0.8349 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.295, allocations: 4 kB / 0.8349 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.2952, allocations: 75.97 kB / 0.835 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009317/0.2961, allocations: 0.6134 MB / 0.8356 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.2966, allocations: 122.7 kB / 0.8357 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.2967, allocations: 44.84 kB / 0.8357 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.2967, allocations: 3.938 kB / 0.8357 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.2969, allocations: 99.31 kB / 0.8358 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.552e-06/0.297, allocations: 0 / 0.8358 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.000452/0.2974, allocations: 208.9 kB / 0.836 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.2975, allocations: 55.41 kB / 0.8361 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008864/0.2984, allocations: 0.6279 MB / 0.8367 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.2984, allocations: 37.7 kB / 0.8367 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.2987, allocations: 248.2 kB / 0.837 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.2988, allocations: 39.55 kB / 0.837 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.2989, allocations: 53.91 kB / 0.8371 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.2991, allocations: 366.8 kB / 0.8374 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2993, allocations: 75.91 kB / 0.8375 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.2996, allocations: 123.3 kB / 0.8376 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.2999, allocations: 122 kB / 0.8377 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2999, allocations: 0 / 0.8377 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005066/0.3004, allocations: 268.7 kB / 0.838 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3005, allocations: 4 kB / 0.838 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3005, allocations: 0 / 0.838 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3005, allocations: 7.938 kB / 0.838 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3007, allocations: 32.05 kB / 0.838 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3007, allocations: 4 kB / 0.838 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3009, allocations: 31.81 kB / 0.838 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.301, allocations: 4 kB / 0.838 GB, free: 5.672 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.0002664/0.3013, allocations: 194.3 kB / 0.8382 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.3013, allocations: 59.27 kB / 0.8383 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3015, allocations: 52.52 kB / 0.8383 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.3015, allocations: 7.984 kB / 0.8383 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3015, allocations: 0 / 0.8383 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3015, allocations: 3.984 kB / 0.8383 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.3019, allocations: 369.3 kB / 0.8387 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3019, allocations: 0 / 0.8387 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.302, allocations: 15.94 kB / 0.8387 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.302, allocations: 0 / 0.8387 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3021, allocations: 3.984 kB / 0.8387 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3021, allocations: 4 kB / 0.8387 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3021, allocations: 0 / 0.8387 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.3026, allocations: 248.3 kB / 0.839 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.3027, allocations: 124.5 kB / 0.8391 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.3027, allocations: 8 kB / 0.8391 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3029, allocations: 11.98 kB / 0.8391 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.3029, allocations: 23.97 kB / 0.8391 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.303, allocations: 7.984 kB / 0.8391 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004259/0.3034, allocations: 410.8 kB / 0.8395 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.804e-06/0.3034, allocations: 4.062 kB / 0.8395 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002707/0.3037, allocations: 63.78 kB / 0.8396 GB, free: 4 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.0009657/0.3046, allocations: 412.5 kB / 0.84 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.305, allocations: 147.8 kB / 0.8401 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.305, allocations: 0 / 0.8401 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3051, allocations: 55.92 kB / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3056, allocations: 77.2 kB / 0.8402 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.3068, allocations: 0.7942 MB / 0.841 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3073, allocations: 0.8531 MB / 0.8419 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.839e-05/0.3074, allocations: 30.3 kB / 0.8419 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.3074, allocations: 35.36 kB / 0.8419 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.3074, allocations: 0 / 0.8419 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of Templates: time 0.01098/0.3184, allocations: 3.625 MB / 0.8455 GB, free: 14.11 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)