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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001006/0.001006, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004136, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7219, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003319/0.7253, allocations: 2.351 MB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00272/0.7281, allocations: 1.616 MB / 1.028 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.7284, allocations: 11.94 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000714/0.7291, allocations: 221 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.7297, allocations: 151.3 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.7303, allocations: 223.7 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006368/0.731, allocations: 442.6 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.7313, allocations: 143.9 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.7316, allocations: 139.2 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.7319, allocations: 179 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.7319, allocations: 8 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.7321, allocations: 55.97 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.7323, allocations: 123.5 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.7325, allocations: 228.1 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.7331, allocations: 0.5026 MB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.7331, allocations: 0 / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7331, allocations: 4 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.7331, allocations: 0 / 1.03 GB, free: 9.465 MB / 0.7794 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.001602/0.7347, allocations: 0.8173 MB / 1.031 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.7348, allocations: 16.02 kB / 1.031 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.735, allocations: 80.03 kB / 1.031 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.7357, allocations: 480.9 kB / 1.031 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.7357, allocations: 16.69 kB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.7358, allocations: 31.84 kB / 1.031 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.7363, allocations: 228.2 kB / 1.032 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7363, allocations: 8 kB / 1.032 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.7364, allocations: 8 kB / 1.032 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.7364, allocations: 4 kB / 1.032 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.7368, allocations: 171.3 kB / 1.032 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.7383, allocations: 0.8783 MB / 1.033 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.7393, allocations: 358.4 kB / 1.033 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.7396, allocations: 100.8 kB / 1.033 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.7396, allocations: 4 kB / 1.033 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.74, allocations: 166.9 kB / 1.033 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.235e-06/0.74, allocations: 4 kB / 1.033 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0008385/0.7409, allocations: 352.9 kB / 1.033 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.7409, allocations: 85.11 kB / 1.034 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.7418, allocations: 0.7112 MB / 1.034 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.7419, allocations: 33.7 kB / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.7421, allocations: 300.2 kB / 1.035 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.7422, allocations: 43.36 kB / 1.035 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.7423, allocations: 41.7 kB / 1.035 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7424, allocations: 378.8 kB / 1.035 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.7427, allocations: 127.9 kB / 1.035 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.743, allocations: 203.3 kB / 1.035 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.7435, allocations: 219.1 kB / 1.036 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7435, allocations: 0 / 1.036 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007085/0.7442, allocations: 381.4 kB / 1.036 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.978e-05/0.7443, allocations: 118.7 kB / 1.036 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7443, allocations: 0 / 1.036 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7443, allocations: 4 kB / 1.036 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.7446, allocations: 59.91 kB / 1.036 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.7446, allocations: 4 kB / 1.036 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.7449, allocations: 55.8 kB / 1.036 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.7449, allocations: 11.94 kB / 1.036 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.745, allocations: 4 kB / 1.036 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004988/0.7455, allocations: 263.8 kB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.7455, allocations: 0 / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.7455, allocations: 4 kB / 1.036 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.7457, allocations: 59.83 kB / 1.036 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.7457, allocations: 3.938 kB / 1.036 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.746, allocations: 55.88 kB / 1.037 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.746, allocations: 4 kB / 1.037 GB, free: 2.379 MB / 0.7794 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.0002913/0.7463, allocations: 297 kB / 1.037 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.7464, allocations: 59.25 kB / 1.037 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.7465, allocations: 61.72 kB / 1.037 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7465, allocations: 11.94 kB / 1.037 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7465, allocations: 0 / 1.037 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7466, allocations: 0 / 1.037 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.747, allocations: 445.2 kB / 1.037 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.747, allocations: 0 / 1.037 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.7472, allocations: 35.91 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7472, allocations: 0 / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.7472, allocations: 12.06 kB / 1.037 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.7473, allocations: 3.938 kB / 1.037 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7473, allocations: 4 kB / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.7481, allocations: 402.5 kB / 1.038 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.7482, allocations: 136.4 kB / 1.038 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.7483, allocations: 4 kB / 1.038 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.7485, allocations: 43.97 kB / 1.038 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.7486, allocations: 27.95 kB / 1.038 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.7486, allocations: 7.984 kB / 1.038 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005249/0.7491, allocations: 475 kB / 1.038 GB, free: 308 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7491, allocations: 0 / 1.038 GB, free: 308 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004959/0.7496, allocations: 135.7 kB / 1.039 GB, free: 172 kB / 0.7794 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.001163/0.7508, allocations: 436.7 kB / 1.039 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009066/0.7517, allocations: 411.7 kB / 1.039 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7517, allocations: 0 / 1.039 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.752, allocations: 100.1 kB / 1.04 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.7526, allocations: 89.75 kB / 1.04 GB, free: 15.31 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.7544, allocations: 1.202 MB / 1.041 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.7548, allocations: 0.8857 MB / 1.042 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.7549, allocations: 35.42 kB / 1.042 GB, free: 13.12 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.755, allocations: 0 / 1.042 GB, free: 13.12 MB / 0.795 GB Notification: Performance of Templates: time 0.01125/0.7662, allocations: 6.474 MB / 1.048 GB, free: 6.691 MB / 0.795 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)