Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_11_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.00126/0.00126, allocations: 107.6 kB / 15.99 MB, free: 5.891 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.00123/0.00123, allocations: 192.2 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 66.89 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004149/0.31, allocations: 2.458 MB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.3124, allocations: 1.479 MB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.3126, allocations: 7.938 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.3133, allocations: 227.8 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.3137, allocations: 135.4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.3141, allocations: 155.7 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.3146, allocations: 358.8 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.3148, allocations: 100.6 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.315, allocations: 131.4 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.3152, allocations: 159.2 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.3152, allocations: 28 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3154, allocations: 63.91 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3155, allocations: 127.5 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.3157, allocations: 194.6 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.3162, allocations: 395.2 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3162, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3162, allocations: 3.938 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.3162, allocations: 0 / 1.07 GB, free: 9.098 MB / 0.8419 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.001249/0.3174, allocations: 0.8007 MB / 1.071 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3175, allocations: 11.97 kB / 1.071 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3176, allocations: 60.19 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.3181, allocations: 419.8 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3182, allocations: 20.3 kB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.3182, allocations: 15.94 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.3185, allocations: 137.6 kB / 1.071 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3185, allocations: 8 kB / 1.071 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.3186, allocations: 4 kB / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3186, allocations: 4 kB / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.3188, allocations: 83.95 kB / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3198, allocations: 0.6407 MB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.3202, allocations: 130.7 kB / 1.072 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3203, allocations: 52.84 kB / 1.072 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3203, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.3206, allocations: 107.3 kB / 1.072 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 3.527e-06/0.3206, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0004585/0.321, allocations: 208.9 kB / 1.073 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3211, allocations: 51.41 kB / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007569/0.3219, allocations: 0.6553 MB / 1.073 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.3219, allocations: 25.7 kB / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.3221, allocations: 260.4 kB / 1.074 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.3222, allocations: 39.45 kB / 1.074 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.3223, allocations: 53.7 kB / 1.074 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3225, allocations: 370.8 kB / 1.074 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3227, allocations: 75.97 kB / 1.074 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.3229, allocations: 123.3 kB / 1.074 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.3231, allocations: 131.6 kB / 1.074 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3231, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004347/0.3235, allocations: 275.8 kB / 1.075 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3236, allocations: 4 kB / 1.075 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3236, allocations: 0 / 1.075 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3236, allocations: 0 / 1.075 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.3238, allocations: 44.05 kB / 1.075 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3238, allocations: 3.938 kB / 1.075 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.324, allocations: 31.81 kB / 1.075 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.324, allocations: 8 kB / 1.075 GB, free: 4.055 MB / 0.8419 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.0002341/0.3243, allocations: 206.8 kB / 1.075 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.3243, allocations: 59.27 kB / 1.075 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.871e-05/0.3244, allocations: 56.66 kB / 1.075 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3245, allocations: 4 kB / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3245, allocations: 0 / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3245, allocations: 0 / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.3249, allocations: 377.3 kB / 1.075 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3249, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.325, allocations: 15.94 kB / 1.075 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.325, allocations: 0 / 1.075 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.325, allocations: 7.984 kB / 1.075 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.325, allocations: 0 / 1.075 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.325, allocations: 0 / 1.075 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.3255, allocations: 264.2 kB / 1.076 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3256, allocations: 128.5 kB / 1.076 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.3256, allocations: 12 kB / 1.076 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3258, allocations: 11.98 kB / 1.076 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.3259, allocations: 23.97 kB / 1.076 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3259, allocations: 4 kB / 1.076 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005008/0.3264, allocations: 426.8 kB / 1.076 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3264, allocations: 7.938 kB / 1.076 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002911/0.3267, allocations: 67.92 kB / 1.076 GB, free: 2.324 MB / 0.8419 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.001495/0.3282, allocations: 418.6 kB / 1.077 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.3286, allocations: 155.9 kB / 1.077 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3286, allocations: 0 / 1.077 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.3287, allocations: 55.98 kB / 1.077 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.3292, allocations: 86.38 kB / 1.077 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3307, allocations: 1.01 MB / 1.078 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4222/0.7529, allocations: 0.8462 MB / 1.079 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.7531, allocations: 32.48 kB / 1.079 GB, free: 21.59 MB / 0.8419 GB Notification: Performance of SimCode: time 7.31e-07/0.7531, allocations: 1.344 kB / 1.079 GB, free: 21.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.01011/0.7632, allocations: 5.42 MB / 1.084 GB, free: 20.91 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)