Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.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.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001319/0.001319, allocations: 193 kB / 16.25 MB, free: 6.633 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 61.72 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3669, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004666/0.3716, allocations: 2.722 MB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.3745, allocations: 1.631 MB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.375, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008014/0.3758, allocations: 227.7 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005814/0.3764, allocations: 155.3 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.3771, allocations: 223.7 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.3778, allocations: 478.7 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.3781, allocations: 151.8 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.3784, allocations: 183.2 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.3787, allocations: 211 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.879e-05/0.3788, allocations: 36 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.379, allocations: 87.98 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.3792, allocations: 155.4 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.3795, allocations: 242.3 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007647/0.3802, allocations: 0.6501 MB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3802, allocations: 0 / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3803, allocations: 3.938 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.488e-05/0.3803, allocations: 0 / 1.075 GB, free: 3.676 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001773/0.3821, allocations: 0.9025 MB / 1.076 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3821, allocations: 12.03 kB / 1.076 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3823, allocations: 68.09 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/0.3829, allocations: 484.8 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.383, allocations: 20.73 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.383, allocations: 23.94 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.3835, allocations: 216.6 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3835, allocations: 0 / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.3836, allocations: 8 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3836, allocations: 4 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.384, allocations: 171.3 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.3855, allocations: 0.8626 MB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.3864, allocations: 306.5 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.3867, allocations: 80.81 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.3867, allocations: 7.984 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003503/0.3871, allocations: 182.3 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3871, allocations: 0 / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007811/0.3879, allocations: 330.4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3879, allocations: 81.11 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000806/0.3887, allocations: 0.7112 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.3888, allocations: 37.7 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.389, allocations: 284.4 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.3891, allocations: 47.34 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3892, allocations: 73.59 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3894, allocations: 374.7 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.3896, allocations: 136.8 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.3899, allocations: 183.3 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.3904, allocations: 214.3 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3904, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006709/0.3911, allocations: 364.7 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3911, allocations: 4 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3911, allocations: 7.938 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3911, allocations: 4.062 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.3914, allocations: 51.97 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3914, allocations: 7.938 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.3917, allocations: 43.8 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.3917, allocations: 8 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003701/0.3921, allocations: 284 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002602/0.3924, allocations: 171.3 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003338/0.3927, allocations: 186.7 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3927, allocations: 4 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.000581/0.3933, allocations: 336.8 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3933, allocations: 4 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.3933, allocations: 3.938 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.3933, allocations: 7.938 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.3936, allocations: 51.91 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3936, allocations: 4 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.3938, allocations: 47.86 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.3939, allocations: 8 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,filPow.assPow.minPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.maxPow.y,filPow.assPow.assMesDP.u,filPow.assPow.assMesP.u,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,filPow.limDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001406/0.394, allocations: 200.8 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.3941, allocations: 59.25 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.3942, allocations: 69.64 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3942, allocations: 4 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3942, allocations: 4 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3943, allocations: 0 / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.3947, allocations: 441.2 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3947, allocations: 0 / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.3949, allocations: 19.98 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.3949, allocations: 7.984 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3949, allocations: 11.88 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3949, allocations: 0 / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3949, allocations: 4.125 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/0.3957, allocations: 384.1 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3958, allocations: 136.3 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.3959, allocations: 11.92 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3961, allocations: 32.03 kB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.3962, allocations: 27.95 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3962, allocations: 8 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005558/0.3967, allocations: 471 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3967, allocations: 0 / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004855/0.3972, allocations: 135.7 kB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (filPow.assPow.demRat.x,filPow.dPLim.y) * Number of discrete variables: 7 ($whenCondition1,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.assMesDP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.001027/0.3983, allocations: 416.6 kB / 1.084 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008492/0.3991, allocations: 400.3 kB / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3992, allocations: 4 kB / 1.084 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.3994, allocations: 95.88 kB / 1.085 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.3999, allocations: 103 kB / 1.085 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.4017, allocations: 1.124 MB / 1.086 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.4022, allocations: 0.8859 MB / 1.087 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.4024, allocations: 62.91 kB / 1.087 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4025, allocations: 39.42 kB / 1.087 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4025, allocations: 0 / 1.087 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of Templates: time 0.01182/0.4143, allocations: 4.98 MB / 1.092 GB, free: 2.02 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)