Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="IDEAS_dev_IDEAS_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.008135/0.008135, allocations: 97.23 kB / 15.73 MB, free: 6.047 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.00174/0.00174, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9381/0.9381, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.89 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.389, allocations: 80.92 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002382/0.3915, allocations: 1.797 MB / 0.6659 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.3923, allocations: 0.5763 MB / 0.6665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.3924, allocations: 3.25 kB / 0.6665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.3925, allocations: 25.17 kB / 0.6665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.3928, allocations: 62.89 kB / 0.6665 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.393, allocations: 95.39 kB / 0.6666 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.3932, allocations: 265.2 kB / 0.6669 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3933, allocations: 30.55 kB / 0.6669 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3935, allocations: 113.4 kB / 0.667 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3937, allocations: 139.8 kB / 0.6672 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.3937, allocations: 16.81 kB / 0.6672 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.3937, allocations: 19.81 kB / 0.6672 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.3938, allocations: 62.94 kB / 0.6673 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.3939, allocations: 107.3 kB / 0.6674 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3941, allocations: 213.6 kB / 0.6676 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3941, allocations: 0 / 0.6676 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3941, allocations: 0 / 0.6676 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3941, allocations: 4 kB / 0.6676 GB, free: 4.637 MB / 0.4981 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.0009191/0.3951, allocations: 0.5425 MB / 0.6681 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3951, allocations: 10.5 kB / 0.6681 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.3952, allocations: 46.67 kB / 0.6681 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.3952, allocations: 24.61 kB / 0.6682 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.3956, allocations: 280.5 kB / 0.6684 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3957, allocations: 13.69 kB / 0.6685 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.3957, allocations: 21.56 kB / 0.6685 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.396, allocations: 143.2 kB / 0.6686 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.396, allocations: 0 / 0.6686 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.396, allocations: 5.594 kB / 0.6686 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.3961, allocations: 12.3 kB / 0.6686 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.3963, allocations: 139 kB / 0.6688 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000796/0.3971, allocations: 0.5442 MB / 0.6693 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.3974, allocations: 183.8 kB / 0.6695 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.3976, allocations: 71.73 kB / 0.6695 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3976, allocations: 1.188 kB / 0.6695 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3976, allocations: 36.06 kB / 0.6696 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.3976, allocations: 0 / 0.6696 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0004848/0.3981, allocations: 256.4 kB / 0.6698 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.3981, allocations: 54.41 kB / 0.6699 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.3985, allocations: 242.6 kB / 0.6701 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3985, allocations: 30.77 kB / 0.6701 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.3986, allocations: 134.3 kB / 0.6703 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.3986, allocations: 76.12 kB / 0.6703 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.3987, allocations: 48.14 kB / 0.6704 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.3987, allocations: 332.7 kB / 0.6707 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3989, allocations: 85.33 kB / 0.6708 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.399, allocations: 84.7 kB / 0.6709 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3993, allocations: 178.9 kB / 0.671 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3993, allocations: 0 / 0.671 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003691/0.3997, allocations: 250 kB / 0.6713 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3997, allocations: 13.08 kB / 0.6713 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3997, allocations: 1.344 kB / 0.6713 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3997, allocations: 5.406 kB / 0.6713 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.4001, allocations: 63.09 kB / 0.6713 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4001, allocations: 1.406 kB / 0.6713 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.4003, allocations: 25.77 kB / 0.6714 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4003, allocations: 4.188 kB / 0.6714 GB, free: 1.668 MB / 0.4981 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 8.529e-05/0.4004, allocations: 138.8 kB / 0.6715 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.4004, allocations: 26.16 kB / 0.6715 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.4005, allocations: 32.17 kB / 0.6716 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4005, allocations: 5.594 kB / 0.6716 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4005, allocations: 1.25 kB / 0.6716 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4005, allocations: 0 / 0.6716 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.4008, allocations: 300.9 kB / 0.6719 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4008, allocations: 1.688 kB / 0.6719 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.401, allocations: 28.83 kB / 0.6719 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.401, allocations: 4.875 kB / 0.6719 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.401, allocations: 7.938 kB / 0.6719 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.401, allocations: 8.734 kB / 0.6719 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.401, allocations: 0 / 0.6719 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.4015, allocations: 376.2 kB / 0.6723 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4016, allocations: 127 kB / 0.6724 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.4016, allocations: 7.375 kB / 0.6724 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.4018, allocations: 12.48 kB / 0.6724 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.4019, allocations: 13.89 kB / 0.6724 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.4019, allocations: 2.656 kB / 0.6724 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002444/0.4022, allocations: 186.6 kB / 0.6726 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4022, allocations: 0 / 0.6726 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002828/0.4025, allocations: 48.94 kB / 0.6726 GB, free: 0.6406 MB / 0.4981 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.0006948/0.4032, allocations: 0.9196 MB / 0.6735 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.4035, allocations: 177.7 kB / 0.6737 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4035, allocations: 0 / 0.6737 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.4037, allocations: 88.17 kB / 0.6738 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.4041, allocations: 43.56 kB / 0.6738 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.4077, allocations: 2.696 MB / 0.6765 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.4081, allocations: 0.7602 MB / 0.6772 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.4082, allocations: 47.38 kB / 0.6773 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4083, allocations: 63.03 kB / 0.6773 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.4083, allocations: 0 / 0.6773 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.4318, allocations: 4.822 MB / 0.682 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.966, allocations: 12.52 kB / 0.682 GB, free: 10.56 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.ActuatorFilter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1)