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.001154/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0015/0.0015, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.996/2.996, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.5 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4034, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004592/0.4081, allocations: 2.472 MB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.4107, allocations: 1.494 MB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.4109, allocations: 8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.4117, allocations: 219.8 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.4121, allocations: 139.4 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.4126, allocations: 159.2 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.413, allocations: 326.9 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.4132, allocations: 92.69 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.4134, allocations: 127.3 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.4136, allocations: 143.3 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.4136, allocations: 11.94 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.4138, allocations: 51.97 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.4139, allocations: 115.5 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.4141, allocations: 174.6 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.4146, allocations: 498.1 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4146, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4146, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.4146, allocations: 0 / 1.073 GB, free: 4.91 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.001299/0.4159, allocations: 0.7982 MB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.416, allocations: 8.031 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.4161, allocations: 64.27 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.4166, allocations: 427.8 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4166, allocations: 12.36 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.4167, allocations: 19.94 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.417, allocations: 133.5 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.417, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.4171, allocations: 4 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4171, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.4173, allocations: 79.97 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.4183, allocations: 0.6407 MB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.4188, allocations: 142.5 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.795e-05/0.4189, allocations: 44.84 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.4189, allocations: 7.984 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.4191, allocations: 107.3 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.4191, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004663/0.4196, allocations: 212.9 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.4197, allocations: 59.41 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006825/0.4203, allocations: 0.6397 MB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.4204, allocations: 33.7 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.4206, allocations: 260.3 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.4207, allocations: 35.55 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.4208, allocations: 61.69 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4209, allocations: 362.8 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.4211, allocations: 79.97 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4213, allocations: 120 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4215, allocations: 140.4 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4215, allocations: 0 / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004214/0.422, allocations: 267.1 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.422, allocations: 4 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.422, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.422, allocations: 7.938 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.4222, allocations: 31.98 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.4222, allocations: 11.98 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4224, allocations: 27.83 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.4224, allocations: 8.031 kB / 1.078 GB, free: 15.87 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.0002162/0.4227, allocations: 209.7 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.4227, allocations: 51.34 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.724e-05/0.4228, allocations: 56.66 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4228, allocations: 4 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4229, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4229, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.4232, allocations: 381.2 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4232, allocations: 4 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.4233, allocations: 11.98 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4233, allocations: 4 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.4233, allocations: 4 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4234, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4234, allocations: 3.938 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.4238, allocations: 260.7 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.4239, allocations: 124.5 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.424, allocations: 8 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4241, allocations: 15.92 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.4242, allocations: 23.95 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.4242, allocations: 4 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004545/0.4247, allocations: 430.8 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4247, allocations: 0 / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003068/0.425, allocations: 63.84 kB / 1.08 GB, free: 14.15 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.001018/0.426, allocations: 433.3 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.4263, allocations: 147.9 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4264, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4265, allocations: 55.97 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.4269, allocations: 80.56 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.4283, allocations: 0.9517 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.4287, allocations: 0.8535 MB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.4289, allocations: 38.28 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.429, allocations: 35.42 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.429, allocations: 0 / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.008371/0.4373, allocations: 3.748 MB / 1.086 GB, free: 7.949 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)