Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004356/0.004356, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001227/0.001227, allocations: 198.8 kB / 16.67 MB, free: 5.934 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002407/0.002407, allocations: 286.4 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9704/0.9704, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 103.8 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1553, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.00284/0.1582, allocations: 1.791 MB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.1592, allocations: 0.5694 MB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.1593, allocations: 8 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1594, allocations: 23.73 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.1597, allocations: 71.53 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1599, allocations: 83.88 kB / 0.7684 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.1602, allocations: 271.2 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1603, allocations: 48.25 kB / 0.7687 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1605, allocations: 107.6 kB / 0.7688 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.1607, allocations: 135.5 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.1608, allocations: 16 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.1608, allocations: 20 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1609, allocations: 71.75 kB / 0.769 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1611, allocations: 103.4 kB / 0.7691 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1613, allocations: 211.3 kB / 0.7693 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1613, allocations: 4 kB / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1613, allocations: 0 / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.1613, allocations: 0 / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001028/0.1624, allocations: 0.5527 MB / 0.7699 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1624, allocations: 8.031 kB / 0.7699 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.1625, allocations: 46.73 kB / 0.7699 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.1625, allocations: 28.8 kB / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.163, allocations: 282.9 kB / 0.7702 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.163, allocations: 8.375 kB / 0.7702 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.163, allocations: 12.38 kB / 0.7702 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.1633, allocations: 142.4 kB / 0.7704 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1634, allocations: 0 / 0.7704 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1634, allocations: 8 kB / 0.7704 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.1634, allocations: 12.22 kB / 0.7704 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.1637, allocations: 144.5 kB / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.1646, allocations: 0.5483 MB / 0.7711 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.165, allocations: 174.4 kB / 0.7712 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1651, allocations: 76.81 kB / 0.7713 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1652, allocations: 4 kB / 0.7713 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1652, allocations: 30.56 kB / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.1652, allocations: 0 / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0005354/0.1657, allocations: 259.9 kB / 0.7716 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1658, allocations: 51.41 kB / 0.7716 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.1662, allocations: 249 kB / 0.7719 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1662, allocations: 33.69 kB / 0.7719 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.1663, allocations: 132.6 kB / 0.772 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.1664, allocations: 75.38 kB / 0.7721 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.1665, allocations: 45.66 kB / 0.7721 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1666, allocations: 334.8 kB / 0.7725 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1668, allocations: 79.94 kB / 0.7725 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.167, allocations: 83.02 kB / 0.7726 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.1673, allocations: 180.8 kB / 0.7728 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1673, allocations: 3.938 kB / 0.7728 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004288/0.1677, allocations: 252.8 kB / 0.773 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1678, allocations: 4 kB / 0.773 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1678, allocations: 0 / 0.773 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1678, allocations: 7.938 kB / 0.773 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.1681, allocations: 71.83 kB / 0.7731 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1681, allocations: 0 / 0.7731 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.1683, allocations: 27.88 kB / 0.7731 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1683, allocations: 8 kB / 0.7731 GB, free: 1.297 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000136/0.1685, allocations: 134.5 kB / 0.7733 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.1685, allocations: 23.86 kB / 0.7733 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.1686, allocations: 26.19 kB / 0.7733 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1686, allocations: 3.938 kB / 0.7733 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1686, allocations: 7.984 kB / 0.7733 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1686, allocations: 0 / 0.7733 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.169, allocations: 301.4 kB / 0.7736 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.169, allocations: 0 / 0.7736 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1692, allocations: 39.91 kB / 0.7737 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1692, allocations: 4 kB / 0.7737 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1692, allocations: 0 / 0.7737 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1693, allocations: 7.938 kB / 0.7737 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1693, allocations: 4 kB / 0.7737 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.1698, allocations: 381.9 kB / 0.774 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.17, allocations: 128.9 kB / 0.7742 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.17, allocations: 7.938 kB / 0.7742 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1702, allocations: 11.98 kB / 0.7742 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.1703, allocations: 7.984 kB / 0.7742 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1703, allocations: 8 kB / 0.7742 GB, free: 132 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2853/0.4555, allocations: 176.5 kB / 0.7744 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4556, allocations: 0.5 kB / 0.7744 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004817/0.4561, allocations: 53.95 kB / 0.7744 GB, free: 14.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0008194/0.4569, allocations: 0.9084 MB / 0.7753 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.4573, allocations: 177.6 kB / 0.7755 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4573, allocations: 0 / 0.7755 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.4574, allocations: 81.58 kB / 0.7755 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.4578, allocations: 46.33 kB / 0.7756 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.4612, allocations: 2.675 MB / 0.7782 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.4614, allocations: 0.7576 MB / 0.7789 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.4616, allocations: 49.25 kB / 0.779 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.4617, allocations: 67.03 kB / 0.7791 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.4617, allocations: 0 / 0.7791 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.4907, allocations: 4.845 MB / 0.7838 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/8.055, allocations: 7.188 kB / 0.7838 GB, free: 11.8 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1)