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.001637/0.001637, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001607/0.001607, allocations: 191.2 kB / 16.14 MB, free: 6.734 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 61.8 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3738, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004339/0.3782, allocations: 2.468 MB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.3809, allocations: 1.487 MB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.3812, allocations: 7.938 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008273/0.382, allocations: 223.8 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.3824, allocations: 139.4 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.3829, allocations: 162.8 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.3834, allocations: 334.8 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.3836, allocations: 84.69 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.3838, allocations: 123.4 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.384, allocations: 155.2 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.384, allocations: 12 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3842, allocations: 43.92 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3843, allocations: 119.6 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.3845, allocations: 174.5 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.385, allocations: 0.4903 MB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.385, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.385, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.385, allocations: 4 kB / 1.073 GB, free: 4.887 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.001352/0.3864, allocations: 0.7984 MB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3865, allocations: 12.03 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3866, allocations: 52.28 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.3871, allocations: 423.8 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3871, allocations: 16.36 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.3872, allocations: 19.94 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.3875, allocations: 137.6 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3875, allocations: 0 / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3875, allocations: 4 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3875, allocations: 4 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.3877, allocations: 83.89 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.3888, allocations: 0.6407 MB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.3892, allocations: 134.6 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3893, allocations: 44.84 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.3894, allocations: 7.984 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.3896, allocations: 107.3 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3896, allocations: 0 / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004541/0.3901, allocations: 213.2 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3901, allocations: 55.41 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.3909, allocations: 0.6514 MB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.3909, allocations: 33.7 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3911, allocations: 256.3 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.3912, allocations: 35.55 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.3913, allocations: 53.69 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3915, allocations: 370.8 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3916, allocations: 75.97 kB / 1.077 GB, free: 488 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.3918, allocations: 121.1 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.392, allocations: 132.5 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3921, allocations: 3.938 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000424/0.3925, allocations: 265 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3925, allocations: 8 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3925, allocations: 0 / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3926, allocations: 0 / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.3927, allocations: 43.91 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.3928, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.3929, allocations: 31.77 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.393, allocations: 4 kB / 1.078 GB, free: 15.85 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.0002337/0.3932, allocations: 217.7 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.3933, allocations: 55.33 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.702e-05/0.3934, allocations: 52.66 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3934, allocations: 4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3934, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3934, allocations: 3.984 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.3938, allocations: 377.1 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3938, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.3939, allocations: 15.98 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3939, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3939, allocations: 4 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3939, allocations: 0 / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.394, allocations: 4 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.3944, allocations: 268.3 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3945, allocations: 124.5 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.3946, allocations: 4 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3948, allocations: 16.05 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.3948, allocations: 23.97 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3949, allocations: 4 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004881/0.3954, allocations: 430.8 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3954, allocations: 0 / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002901/0.3957, allocations: 63.83 kB / 1.08 GB, free: 14.13 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.001104/0.3968, allocations: 419.1 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.3971, allocations: 155.9 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3971, allocations: 4 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3973, allocations: 55.86 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3977, allocations: 74.88 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.3991, allocations: 0.9483 MB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.3995, allocations: 0.8614 MB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.3997, allocations: 50.25 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.3998, allocations: 23.44 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3998, allocations: 0 / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.008501/0.4083, allocations: 3.751 MB / 1.086 GB, free: 7.93 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)