Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0016/0.0016, allocations: 108 kB / 15.61 MB, free: 152 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.001667/0.001667, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.58/1.58, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 61.92 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3695, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004308/0.3739, allocations: 2.44 MB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.3763, allocations: 1.502 MB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.3765, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.3772, allocations: 235.6 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.3776, allocations: 155.2 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.3781, allocations: 190.7 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.3785, allocations: 346.9 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.3787, allocations: 92.64 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.3789, allocations: 131.4 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.3791, allocations: 155.2 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.3791, allocations: 24 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3793, allocations: 63.95 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3794, allocations: 123.5 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.3796, allocations: 190.6 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.3801, allocations: 0.4904 MB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3801, allocations: 0 / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3802, allocations: 0 / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3802, allocations: 4 kB / 1.074 GB, free: 4.273 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.001162/0.3813, allocations: 0.8083 MB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3814, allocations: 8.031 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3815, allocations: 60.27 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.382, allocations: 419.8 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.382, allocations: 16.38 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.3821, allocations: 19.88 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3824, allocations: 134.8 kB / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3824, allocations: 3.938 kB / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.3824, allocations: 4 kB / 1.076 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3824, allocations: 4 kB / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3826, allocations: 79.97 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.3836, allocations: 0.6368 MB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.3839, allocations: 138.6 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.3841, allocations: 48.84 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3841, allocations: 0 / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.3843, allocations: 107.3 kB / 1.077 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3843, allocations: 3.938 kB / 1.077 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004411/0.3848, allocations: 216.9 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3848, allocations: 51.41 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.3855, allocations: 0.6476 MB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3856, allocations: 29.7 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.3858, allocations: 260.3 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.3858, allocations: 35.55 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.3859, allocations: 57.69 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3861, allocations: 370.8 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3863, allocations: 75.97 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3864, allocations: 119.9 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.3866, allocations: 133.6 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3867, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003943/0.3871, allocations: 275.2 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3871, allocations: 4 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3871, allocations: 3.984 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3871, allocations: 0 / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3873, allocations: 39.98 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3873, allocations: 3.984 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3875, allocations: 27.83 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.3875, allocations: 11.94 kB / 1.079 GB, free: 15.23 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.0002111/0.3877, allocations: 214.3 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.3878, allocations: 51.34 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.339e-05/0.3879, allocations: 56.66 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3879, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3879, allocations: 4 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3879, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.3883, allocations: 385.2 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3883, allocations: 0 / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.3884, allocations: 15.92 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3884, allocations: 4 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3884, allocations: 7.938 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3884, allocations: 0 / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3884, allocations: 0 / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.3888, allocations: 260.3 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3889, allocations: 120.5 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.389, allocations: 8 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3891, allocations: 24.03 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.3892, allocations: 15.98 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3892, allocations: 7.984 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004523/0.3897, allocations: 426.8 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3897, allocations: 4 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002967/0.39, allocations: 63.84 kB / 1.08 GB, free: 13.5 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.0009922/0.391, allocations: 426.6 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.3914, allocations: 155.9 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3914, allocations: 0 / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3915, allocations: 59.91 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.3919, allocations: 86 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3932, allocations: 0.8452 MB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.3936, allocations: 0.8579 MB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.3937, allocations: 38.28 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.3938, allocations: 27.42 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3938, allocations: 0 / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.008746/0.4026, allocations: 4.028 MB / 1.087 GB, free: 7.129 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)