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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001412/0.001412, allocations: 100.1 kB / 15.88 MB, free: 12 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.00165/0.00165, allocations: 200.8 kB / 16.79 MB, free: 6.809 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.791/2.791, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 66.95 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3285, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004304/0.3329, allocations: 2.481 MB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.3354, allocations: 1.479 MB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.3357, allocations: 0 / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.3365, allocations: 227.8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.3369, allocations: 139.4 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.3374, allocations: 170.2 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.3378, allocations: 330.9 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.3381, allocations: 84.7 kB / 1.058 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.3383, allocations: 127.3 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3385, allocations: 147.2 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.3385, allocations: 12 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3387, allocations: 55.89 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.3388, allocations: 111.5 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.339, allocations: 182.6 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.3394, allocations: 387.2 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3394, allocations: 0 / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3394, allocations: 4 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3395, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 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.001243/0.3407, allocations: 0.793 MB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3407, allocations: 11.97 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.3409, allocations: 60.19 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.3415, allocations: 435.8 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3415, allocations: 16.36 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.3415, allocations: 15.94 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.3418, allocations: 133.6 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3418, allocations: 0 / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.3419, allocations: 8 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3419, allocations: 0 / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.3421, allocations: 91.89 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3431, allocations: 0.6367 MB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.3435, allocations: 142.6 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3436, allocations: 44.88 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3437, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.3439, allocations: 107.3 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.3439, allocations: 0 / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004634/0.3444, allocations: 216.9 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3444, allocations: 55.34 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.3451, allocations: 0.6475 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.3451, allocations: 33.7 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.3454, allocations: 252.4 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.3454, allocations: 31.56 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.3455, allocations: 61.59 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3456, allocations: 370.8 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3458, allocations: 79.95 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.346, allocations: 117.4 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.3462, allocations: 119.7 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3462, allocations: 0 / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004181/0.3466, allocations: 279.5 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3467, allocations: 4 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3467, allocations: 7.922 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3467, allocations: 7.938 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3469, allocations: 35.92 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3469, allocations: 0 / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3471, allocations: 27.83 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.3471, allocations: 15.98 kB / 1.063 GB, free: 13.29 MB / 0.8262 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.0002138/0.3474, allocations: 205.7 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.3474, allocations: 51.34 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.3475, allocations: 56.66 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3475, allocations: 3.984 kB / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3475, allocations: 0 / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3475, allocations: 4 kB / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.3479, allocations: 377.3 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3479, allocations: 0 / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.348, allocations: 8 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.348, allocations: 3.984 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.348, allocations: 12 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.348, allocations: 0 / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.348, allocations: 3.984 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.3485, allocations: 256.2 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.3486, allocations: 128.5 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.3486, allocations: 8 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3488, allocations: 20.05 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.3488, allocations: 19.97 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3489, allocations: 7.984 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004764/0.3493, allocations: 430.8 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3494, allocations: 0 / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002956/0.3497, allocations: 67.84 kB / 1.065 GB, free: 11.57 MB / 0.8262 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.0009787/0.3506, allocations: 413.3 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.351, allocations: 163.8 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.351, allocations: 0 / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3511, allocations: 55.92 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.3516, allocations: 66.89 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.353, allocations: 1.008 MB / 1.066 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.3535, allocations: 0.8535 MB / 1.067 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.3536, allocations: 31.42 kB / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3536, allocations: 0 / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.008415/0.362, allocations: 5.414 MB / 1.073 GB, free: 3.699 MB / 0.8262 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)