Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 292.6 MB / 307.6 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001767/0.001766, allocations: 188.6 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 0.6367 GB, free: 8.652 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008903/0.0008899, allocations: 94.38 kB / 0.751 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.000463, allocations: 12 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3096, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6402/0.9499, allocations: 146.8 MB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.9502, allocations: 90.44 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03637/0.9866, allocations: 13.97 MB / 1.145 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9867, allocations: 0 / 1.145 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.965e-05/0.9867, allocations: 19.98 kB / 1.145 GB, free: 19.59 MB / 0.7292 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.001635/0.9884, allocations: 0.8673 MB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.9884, allocations: 16.02 kB / 1.146 GB, free: 18.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.9886, allocations: 68.42 kB / 1.146 GB, free: 18.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.9895, allocations: 494.5 kB / 1.147 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.9896, allocations: 17.08 kB / 1.147 GB, free: 18.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.9896, allocations: 16 kB / 1.147 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.9901, allocations: 228.9 kB / 1.147 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.9901, allocations: 4 kB / 1.147 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.9902, allocations: 8.656 kB / 1.147 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.9902, allocations: 5.031 kB / 1.147 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.9906, allocations: 177.7 kB / 1.147 GB, free: 17.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.992, allocations: 0.8973 MB / 1.148 GB, free: 17.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.9926, allocations: 253.8 kB / 1.148 GB, free: 16.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.9926, allocations: 4.656 kB / 1.148 GB, free: 16.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.993, allocations: 179.6 kB / 1.149 GB, free: 16.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.943e-06/0.993, allocations: 0 / 1.149 GB, free: 16.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0007464/0.9937, allocations: 348.6 kB / 1.149 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.9938, allocations: 81.77 kB / 1.149 GB, free: 16.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.9945, allocations: 0.6388 MB / 1.15 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.9946, allocations: 33.7 kB / 1.15 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.9948, allocations: 298.2 kB / 1.15 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.9949, allocations: 52.56 kB / 1.15 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.9949, allocations: 7.938 kB / 1.15 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.995, allocations: 379.2 kB / 1.15 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.9953, allocations: 132.9 kB / 1.151 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.9956, allocations: 190.7 kB / 1.151 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.9958, allocations: 129.9 kB / 1.151 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9958, allocations: 3.938 kB / 1.151 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006528/0.9965, allocations: 411.5 kB / 1.151 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.9966, allocations: 178.8 kB / 1.151 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9966, allocations: 0 / 1.151 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.9966, allocations: 4.656 kB / 1.151 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.9969, allocations: 65.59 kB / 1.151 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.9969, allocations: 0.6094 kB / 1.151 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.9972, allocations: 45.55 kB / 1.152 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.9972, allocations: 14.3 kB / 1.152 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.9972, allocations: 4 kB / 1.152 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005106/0.9978, allocations: 287.2 kB / 1.152 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.9978, allocations: 4 kB / 1.152 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.431e-06/0.9978, allocations: 0 / 1.152 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.998, allocations: 52.52 kB / 1.152 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.998, allocations: 1.891 kB / 1.152 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.9982, allocations: 43.56 kB / 1.152 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.9983, allocations: 13.45 kB / 1.152 GB, free: 13.55 MB / 0.7292 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.9986, allocations: 304.5 kB / 1.152 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.9986, allocations: 63.2 kB / 1.152 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005659/0.9992, allocations: 289.2 kB / 1.153 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9992, allocations: 4.938 kB / 1.153 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9992, allocations: 0 / 1.153 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.9993, allocations: 1.312 kB / 1.153 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.9997, allocations: 456.7 kB / 1.153 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9997, allocations: 1.062 kB / 1.153 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.9999, allocations: 25.67 kB / 1.153 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.9999, allocations: 12.75 kB / 1.153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.9999, allocations: 5.688 kB / 1.153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.9999, allocations: 0 / 1.153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1, allocations: 4 kB / 1.153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/1.001, allocations: 411.8 kB / 1.153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/1.001, allocations: 132.7 kB / 1.154 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/1.001, allocations: 18.06 kB / 1.154 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/1.001, allocations: 35.31 kB / 1.154 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/1.001, allocations: 23.58 kB / 1.154 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/1.001, allocations: 5.125 kB / 1.154 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005638/1.002, allocations: 491.6 kB / 1.154 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.002, allocations: 1.031 kB / 1.154 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005637/1.002, allocations: 154 kB / 1.154 GB, free: 11.35 MB / 0.7292 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.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/1.003, allocations: 462.9 kB / 1.155 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008089/1.004, allocations: 411 kB / 1.155 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.004, allocations: 3.938 kB / 1.155 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/1.004, allocations: 106.8 kB / 1.155 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/1.005, allocations: 91.3 kB / 1.155 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/1.007, allocations: 1.105 MB / 1.156 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/1.007, allocations: 0.8996 MB / 1.157 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003307/1.007, allocations: 60.17 kB / 1.157 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.007, allocations: 31 kB / 1.157 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/1.007, allocations: 0 / 1.157 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of Templates: time 0.0107/1.018, allocations: 5.068 MB / 1.162 GB, free: 4.465 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)