Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008186/0.0008186, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.005978/0.005978, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004195, allocations: 8.781 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4103, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003544/0.4139, allocations: 2.117 MB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.4166, allocations: 1.463 MB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.4169, allocations: 4 kB / 1.078 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.4175, allocations: 223.8 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.4179, allocations: 135.4 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.4184, allocations: 170.8 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.4188, allocations: 322.9 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.419, allocations: 80.72 kB / 1.079 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.4191, allocations: 119.3 kB / 1.079 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.4193, allocations: 135.3 kB / 1.079 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.4194, allocations: 4 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.4195, allocations: 59.89 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.4196, allocations: 107.5 kB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.4198, allocations: 200.3 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.4204, allocations: 478 kB / 1.08 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4204, allocations: 0 / 1.08 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4204, allocations: 0 / 1.08 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4204, allocations: 4 kB / 1.08 GB, free: 1.945 MB / 0.8262 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.001122/0.4215, allocations: 0.7349 MB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4216, allocations: 11.97 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.4217, allocations: 60.19 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.4222, allocations: 419.9 kB / 1.081 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.4222, allocations: 16.36 kB / 1.081 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.4222, allocations: 19.94 kB / 1.081 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.4225, allocations: 133.6 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4225, allocations: 4 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.4226, allocations: 4 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4226, allocations: 4 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.4228, allocations: 87.89 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4238, allocations: 0.6524 MB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.4243, allocations: 134.6 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.4244, allocations: 44.84 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.4244, allocations: 0 / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.4247, allocations: 115.3 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 2.886e-06/0.4247, allocations: 3.938 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.000425/0.4251, allocations: 212.9 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.4252, allocations: 51.41 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.4259, allocations: 0.6514 MB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4259, allocations: 33.7 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.4262, allocations: 248.4 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.4262, allocations: 39.55 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.4263, allocations: 33.7 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.4265, allocations: 370.8 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4266, allocations: 79.97 kB / 1.084 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.4268, allocations: 117.3 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.427, allocations: 136.3 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.427, allocations: 4.031 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004184/0.4275, allocations: 268.8 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4275, allocations: 4 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4275, allocations: 0 / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4275, allocations: 4 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4277, allocations: 35.92 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4277, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.4279, allocations: 43.84 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4279, allocations: 4 kB / 1.084 GB, free: 12.97 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.0002126/0.4282, allocations: 213.7 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.4282, allocations: 51.34 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.159e-05/0.4283, allocations: 56.66 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4283, allocations: 0 / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4283, allocations: 0 / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4284, allocations: 3.984 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.4287, allocations: 389.2 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4287, allocations: 0 / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.4288, allocations: 8 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4288, allocations: 0 / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4288, allocations: 3.984 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4288, allocations: 4 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4288, allocations: 0 / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.4293, allocations: 264.2 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4294, allocations: 128.5 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.4294, allocations: 4 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4296, allocations: 19.98 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.4296, allocations: 23.95 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.4297, allocations: 4 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000462/0.4301, allocations: 426.8 kB / 1.086 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4301, allocations: 0 / 1.086 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002847/0.4304, allocations: 71.84 kB / 1.086 GB, free: 11.24 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.001066/0.4315, allocations: 419.5 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.4318, allocations: 151.9 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4319, allocations: 0 / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.432, allocations: 55.91 kB / 1.086 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.4324, allocations: 84.91 kB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.4339, allocations: 0.9828 MB / 1.087 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.4344, allocations: 0.8575 MB / 1.088 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.4346, allocations: 42.27 kB / 1.088 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.4346, allocations: 27.42 kB / 1.088 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4347, allocations: 0 / 1.088 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.008692/0.4433, allocations: 3.698 MB / 1.092 GB, free: 5.062 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)