Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_latest_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_latest_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.001124/0.001124, allocations: 92.08 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.002105/0.002105, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 462.6 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12.59 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2953, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003351/0.2987, allocations: 2.353 MB / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.3015, allocations: 1.596 MB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.3019, allocations: 7.938 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.3026, allocations: 227.7 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.3032, allocations: 151.3 kB / 1.064 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009486/0.3041, allocations: 226.5 kB / 1.064 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009185/0.305, allocations: 446.7 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004185/0.3055, allocations: 135.9 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.3058, allocations: 147.1 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.3062, allocations: 175 kB / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.3063, allocations: 8 kB / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3065, allocations: 47.97 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.3067, allocations: 131.5 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.3071, allocations: 228.1 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.3078, allocations: 0.5065 MB / 1.066 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3078, allocations: 0 / 1.066 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3078, allocations: 0 / 1.066 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.493e-05/0.3078, allocations: 4 kB / 1.066 GB, free: 14.55 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.001793/0.3096, allocations: 0.8174 MB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.3097, allocations: 11.97 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.3099, allocations: 76.09 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/0.3108, allocations: 484.8 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3109, allocations: 12.75 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.3109, allocations: 31.88 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.3115, allocations: 228.2 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3115, allocations: 4 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.3115, allocations: 12 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.3116, allocations: 4 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.312, allocations: 171.3 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.3136, allocations: 0.8862 MB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3146, allocations: 354.5 kB / 1.069 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.3148, allocations: 96.81 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.3149, allocations: 4 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.3153, allocations: 173.2 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 6.051e-06/0.3153, allocations: 4 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0008428/0.3162, allocations: 351.4 kB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.3162, allocations: 89.09 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.3171, allocations: 0.7112 MB / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.3171, allocations: 33.7 kB / 1.07 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.3174, allocations: 296.2 kB / 1.07 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.3174, allocations: 43.36 kB / 1.07 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.3175, allocations: 41.69 kB / 1.07 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3177, allocations: 382.8 kB / 1.071 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.318, allocations: 127.9 kB / 1.071 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.3183, allocations: 194.7 kB / 1.071 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.3188, allocations: 227.1 kB / 1.071 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3188, allocations: 0 / 1.071 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007308/0.3195, allocations: 380.7 kB / 1.072 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.3196, allocations: 114.7 kB / 1.072 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3196, allocations: 0 / 1.072 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3196, allocations: 4 kB / 1.072 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3199, allocations: 63.89 kB / 1.072 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3199, allocations: 7.984 kB / 1.072 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.3202, allocations: 51.81 kB / 1.072 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.3202, allocations: 8 kB / 1.072 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.3203, allocations: 4 kB / 1.072 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005083/0.3208, allocations: 276 kB / 1.072 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.3208, allocations: 3.938 kB / 1.072 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.3208, allocations: 4 kB / 1.072 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.321, allocations: 51.97 kB / 1.072 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.321, allocations: 3.938 kB / 1.072 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.3213, allocations: 51.84 kB / 1.072 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3213, allocations: 4 kB / 1.072 GB, free: 7.457 MB / 0.8262 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.0002772/0.3216, allocations: 305.5 kB / 1.072 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.3217, allocations: 63.16 kB / 1.073 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3218, allocations: 61.72 kB / 1.073 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3218, allocations: 7.938 kB / 1.073 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3218, allocations: 4 kB / 1.073 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3218, allocations: 0 / 1.073 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.3223, allocations: 437.3 kB / 1.073 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3223, allocations: 0 / 1.073 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3224, allocations: 35.91 kB / 1.073 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3224, allocations: 0 / 1.073 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3225, allocations: 4 kB / 1.073 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3225, allocations: 7.938 kB / 1.073 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3225, allocations: 0 / 1.073 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/0.3233, allocations: 404.2 kB / 1.073 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3234, allocations: 140.3 kB / 1.074 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.3235, allocations: 8 kB / 1.074 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.3237, allocations: 47.97 kB / 1.074 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.3238, allocations: 23.97 kB / 1.074 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.3238, allocations: 11.92 kB / 1.074 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005498/0.3244, allocations: 475 kB / 1.074 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3244, allocations: 0 / 1.074 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004996/0.3249, allocations: 135.7 kB / 1.074 GB, free: 5.227 MB / 0.8262 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.001048/0.326, allocations: 420.4 kB / 1.075 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008553/0.3268, allocations: 411.7 kB / 1.075 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3268, allocations: 0 / 1.075 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.3271, allocations: 98.95 kB / 1.075 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.3277, allocations: 96.23 kB / 1.075 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3294, allocations: 1.21 MB / 1.076 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3299, allocations: 0.8872 MB / 1.077 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.33, allocations: 31.42 kB / 1.077 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of SimCode: time 9.11e-07/0.33, allocations: 4 kB / 1.077 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of Templates: time 0.01085/0.3409, allocations: 6.45 MB / 1.084 GB, free: 11.79 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)