Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001218/0.001218, allocations: 102.1 kB / 16.27 MB, free: 5.871 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.001334/0.001334, allocations: 188.3 kB / 17.2 MB, free: 5.512 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 64.83 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3092, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004411/0.3137, allocations: 2.428 MB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.3163, allocations: 1.51 MB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.3166, allocations: 11.94 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007415/0.3175, allocations: 227.6 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.318, allocations: 155.2 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.3186, allocations: 176.4 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.319, allocations: 350.8 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.3193, allocations: 100.7 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.3195, allocations: 131.4 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.3198, allocations: 155.2 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.3199, allocations: 20 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.32, allocations: 59.97 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3202, allocations: 135.5 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.3204, allocations: 186.7 kB / 1.07 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.321, allocations: 0.4942 MB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.321, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.321, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.321, allocations: 0 / 1.07 GB, free: 8.871 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.001342/0.3224, allocations: 0.7967 MB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3224, allocations: 12.03 kB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3225, allocations: 64.19 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.3231, allocations: 431.7 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3231, allocations: 12.38 kB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.3232, allocations: 15.94 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.3235, allocations: 133.6 kB / 1.072 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3235, allocations: 0 / 1.072 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3235, allocations: 4 kB / 1.072 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.3235, allocations: 4 kB / 1.072 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.3237, allocations: 83.95 kB / 1.072 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3248, allocations: 0.6446 MB / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.3252, allocations: 130.6 kB / 1.072 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3253, allocations: 48.88 kB / 1.072 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3254, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.3256, allocations: 119.2 kB / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.3256, allocations: 0 / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.000462/0.3261, allocations: 205 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.3262, allocations: 55.41 kB / 1.073 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.3269, allocations: 0.6475 MB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.3269, allocations: 33.7 kB / 1.074 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.3271, allocations: 252.4 kB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.3272, allocations: 39.47 kB / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.3273, allocations: 61.62 kB / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3275, allocations: 366.8 kB / 1.074 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3276, allocations: 75.95 kB / 1.074 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.3278, allocations: 119.3 kB / 1.074 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.328, allocations: 135.2 kB / 1.075 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3281, allocations: 0 / 1.075 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004201/0.3285, allocations: 267.4 kB / 1.075 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3285, allocations: 8 kB / 1.075 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3285, allocations: 3.984 kB / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3285, allocations: 0 / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3287, allocations: 43.92 kB / 1.075 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3287, allocations: 0 / 1.075 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3289, allocations: 31.86 kB / 1.075 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.329, allocations: 7.984 kB / 1.075 GB, free: 3.828 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.0002201/0.3292, allocations: 210.2 kB / 1.075 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.3293, allocations: 51.34 kB / 1.075 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.723e-05/0.3294, allocations: 60.59 kB / 1.075 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3294, allocations: 3.984 kB / 1.075 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3294, allocations: 0 / 1.075 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3294, allocations: 0 / 1.075 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.3298, allocations: 385.3 kB / 1.076 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3298, allocations: 0 / 1.076 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.3299, allocations: 8 kB / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3299, allocations: 3.984 kB / 1.076 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3299, allocations: 0 / 1.076 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3299, allocations: 4 kB / 1.076 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3299, allocations: 3.984 kB / 1.076 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.3304, allocations: 264.1 kB / 1.076 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3305, allocations: 128.5 kB / 1.076 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.3305, allocations: 8 kB / 1.076 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3307, allocations: 11.98 kB / 1.076 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.3308, allocations: 27.91 kB / 1.076 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3308, allocations: 4 kB / 1.076 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004679/0.3312, allocations: 426.8 kB / 1.076 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003061/0.3316, allocations: 67.92 kB / 1.076 GB, free: 2.102 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.00102/0.3326, allocations: 426.3 kB / 1.077 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.333, allocations: 155.9 kB / 1.077 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.333, allocations: 0 / 1.077 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3331, allocations: 55.92 kB / 1.077 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.3336, allocations: 74.92 kB / 1.077 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3351, allocations: 0.8936 MB / 1.078 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4584/0.7934, allocations: 0.85 MB / 1.079 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.7937, allocations: 31.83 kB / 1.079 GB, free: 21.8 MB / 0.8419 GB Notification: Performance of SimCode: time 1.683e-06/0.7937, allocations: 2.094 kB / 1.079 GB, free: 21.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.0114/0.8051, allocations: 5.426 MB / 1.084 GB, free: 21.11 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)