Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_10_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.001384/0.001384, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001515/0.001515, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.78 kB / 0.8699 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2899, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004501/0.2944, allocations: 2.683 MB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.2973, allocations: 1.654 MB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.2976, allocations: 7.938 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.2983, allocations: 250.9 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.2989, allocations: 171.1 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.2996, allocations: 249.1 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.3002, allocations: 478.6 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.3005, allocations: 147.9 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.3008, allocations: 187.2 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.301, allocations: 199 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.3011, allocations: 44 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.3014, allocations: 79.98 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.3015, allocations: 155.4 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.3017, allocations: 242.3 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006784/0.3024, allocations: 0.6462 MB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3024, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3025, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.3025, allocations: 4 kB / 1.025 GB, free: 3.504 MB / 0.795 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.001574/0.3041, allocations: 0.9026 MB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3041, allocations: 8.922 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.3043, allocations: 68.09 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.3049, allocations: 492.7 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.305, allocations: 16.75 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.305, allocations: 27.92 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.3055, allocations: 216.3 kB / 1.027 GB, free: 1.691 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3055, allocations: 0 / 1.027 GB, free: 1.691 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.3056, allocations: 12 kB / 1.027 GB, free: 1.68 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3056, allocations: 4 kB / 1.027 GB, free: 1.676 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.306, allocations: 167.3 kB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.3074, allocations: 0.8664 MB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.3084, allocations: 304.4 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3086, allocations: 84.81 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.3086, allocations: 4 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.309, allocations: 185.1 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.309, allocations: 4 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0008085/0.3098, allocations: 324.7 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.3099, allocations: 77.11 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/0.3107, allocations: 0.7151 MB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3107, allocations: 33.7 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.3109, allocations: 284.4 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.311, allocations: 51.34 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3111, allocations: 69.69 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3113, allocations: 374.7 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.3115, allocations: 140.7 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.3118, allocations: 178.8 kB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.3123, allocations: 211.3 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3123, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006733/0.313, allocations: 368.7 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.313, allocations: 7.984 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.313, allocations: 8 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.313, allocations: 4 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.3133, allocations: 51.97 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3133, allocations: 7.938 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.3136, allocations: 43.8 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.3136, allocations: 4 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003735/0.314, allocations: 288 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000242/0.3143, allocations: 171.9 kB / 1.031 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003333/0.3146, allocations: 186.7 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.3146, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005673/0.3152, allocations: 340.8 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3152, allocations: 8 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.3152, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.3152, allocations: 3.938 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.3154, allocations: 59.84 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3155, allocations: 4.062 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.3157, allocations: 47.8 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.3157, allocations: 8 kB / 1.032 GB, free: 11.86 MB / 0.8106 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.0001449/0.3159, allocations: 200.7 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.316, allocations: 55.25 kB / 1.032 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.3161, allocations: 73.64 kB / 1.032 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3161, allocations: 4 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3161, allocations: 0 / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3161, allocations: 0 / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.3165, allocations: 441.2 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3165, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.3167, allocations: 23.98 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3167, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.3167, allocations: 15.92 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3167, allocations: 4.125 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3168, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/0.3175, allocations: 385.8 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3176, allocations: 132.3 kB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.3177, allocations: 15.92 kB / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3179, allocations: 24.05 kB / 1.033 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.318, allocations: 31.89 kB / 1.033 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.318, allocations: 8 kB / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005099/0.3186, allocations: 475 kB / 1.034 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3186, allocations: 0 / 1.034 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004713/0.319, allocations: 131.7 kB / 1.034 GB, free: 9.789 MB / 0.8106 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.001052/0.3201, allocations: 427.5 kB / 1.034 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.321, allocations: 395.6 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.321, allocations: 0 / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.3213, allocations: 102.4 kB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.3218, allocations: 92.16 kB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3235, allocations: 1.028 MB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.3239, allocations: 0.8904 MB / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.324, allocations: 39.42 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.324, allocations: 0 / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of Templates: time 0.01231/0.3364, allocations: 6.489 MB / 1.043 GB, free: 0.4922 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)