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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 115.2 kB / 16.38 MB, free: 5.992 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.001367/0.001367, allocations: 185.6 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.84 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.261, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004516/0.2656, allocations: 2.683 MB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4135/0.6792, allocations: 1.58 MB / 0.789 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.6795, allocations: 6.469 kB / 0.789 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.6803, allocations: 238.2 kB / 0.7892 GB, free: 46.4 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.6807, allocations: 175.7 kB / 0.7894 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.6812, allocations: 223.5 kB / 0.7896 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.6815, allocations: 479.6 kB / 0.79 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.6818, allocations: 146.2 kB / 0.7902 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.682, allocations: 182.2 kB / 0.7904 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.6822, allocations: 199.3 kB / 0.7905 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.6823, allocations: 40.06 kB / 0.7906 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.6825, allocations: 78.69 kB / 0.7907 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.6826, allocations: 158 kB / 0.7908 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.6827, allocations: 246.9 kB / 0.791 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.6833, allocations: 0.6642 MB / 0.7917 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6833, allocations: 0.9375 kB / 0.7917 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6833, allocations: 0 / 0.7917 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.6833, allocations: 2.625 kB / 0.7917 GB, free: 46.05 MB / 0.6544 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.001176/0.6845, allocations: 0.9084 MB / 0.7926 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.6845, allocations: 6.969 kB / 0.7926 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/0.6846, allocations: 68.5 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.6851, allocations: 496.7 kB / 0.7931 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.6852, allocations: 14.53 kB / 0.7931 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.6852, allocations: 25.12 kB / 0.7932 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.6856, allocations: 220.2 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6857, allocations: 1.781 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.6857, allocations: 6.375 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.6857, allocations: 7 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.6861, allocations: 168.1 kB / 0.7936 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.6873, allocations: 0.8931 MB / 0.7944 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.6879, allocations: 230.6 kB / 0.7946 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.6881, allocations: 87.14 kB / 0.7947 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.6882, allocations: 5.75 kB / 0.7947 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.6885, allocations: 164.6 kB / 0.7949 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.6885, allocations: 0.9062 kB / 0.7949 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0006918/0.6892, allocations: 328.2 kB / 0.7952 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.6893, allocations: 80.58 kB / 0.7953 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.6899, allocations: 0.7124 MB / 0.796 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.6899, allocations: 36.52 kB / 0.796 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.6901, allocations: 293.8 kB / 0.7963 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.6901, allocations: 58.73 kB / 0.7963 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.6902, allocations: 62.38 kB / 0.7964 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.6903, allocations: 373.8 kB / 0.7968 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.6905, allocations: 119.5 kB / 0.7969 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.6908, allocations: 177.7 kB / 0.797 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.6912, allocations: 198.7 kB / 0.7972 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6912, allocations: 0 / 0.7972 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005823/0.6918, allocations: 360.3 kB / 0.7976 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6918, allocations: 5.719 kB / 0.7976 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6918, allocations: 6.906 kB / 0.7976 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6918, allocations: 3.375 kB / 0.7976 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.6921, allocations: 54.09 kB / 0.7976 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6921, allocations: 3.344 kB / 0.7976 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.6923, allocations: 41.7 kB / 0.7977 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.6923, allocations: 10.5 kB / 0.7977 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003037/0.6926, allocations: 281 kB / 0.798 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002027/0.6929, allocations: 163.6 kB / 0.7981 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002889/0.6932, allocations: 179.8 kB / 0.7983 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.6932, allocations: 0 / 0.7983 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0004895/0.6937, allocations: 340.7 kB / 0.7986 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.6937, allocations: 8.562 kB / 0.7986 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.6937, allocations: 0 / 0.7986 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.6937, allocations: 3.938 kB / 0.7986 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.6939, allocations: 53.11 kB / 0.7987 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.6939, allocations: 0 / 0.7987 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.6941, allocations: 43.72 kB / 0.7987 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.6942, allocations: 12.33 kB / 0.7987 GB, free: 43.15 MB / 0.6544 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 (30): * Single equations (assignments): 30 * 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 9.675e-05/0.6943, allocations: 194.4 kB / 0.7989 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.6943, allocations: 58.61 kB / 0.799 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.6944, allocations: 67.81 kB / 0.799 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6945, allocations: 3.625 kB / 0.799 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6945, allocations: 0 / 0.799 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.6946, allocations: 132.4 kB / 0.7992 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.6946, allocations: 9.281 kB / 0.7992 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.6948, allocations: 28.78 kB / 0.7992 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.6949, allocations: 23.59 kB / 0.7992 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007731/0.6957, allocations: 340.8 kB / 0.7996 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008086/0.6965, allocations: 0.521 MB / 0.8001 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002134/0.6967, allocations: 92.41 kB / 0.8002 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005517/0.6973, allocations: 474.3 kB / 0.8006 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of Backend: time 3.91e-07/0.6973, allocations: 4.062 kB / 0.8006 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.6992, allocations: 0.7157 MB / 0.8013 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001549/0.7008, allocations: 1.428 MB / 0.8027 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.01364/0.7144, allocations: 6.032 MB / 0.8086 GB, free: 40.55 MB / 0.6544 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)