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.001877/0.001877, allocations: 108 kB / 15.61 MB, free: 152 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.002523/0.002523, allocations: 191.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.662/2.662, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0044/0.0044, allocations: 283.1 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.913/1.913, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00355/0.00355, allocations: 97.67 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2907, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.005572/0.2963, allocations: 1.774 MB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2985, allocations: 0.5853 MB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.2988, allocations: 4 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.299, allocations: 23.73 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006454/0.2997, allocations: 75.53 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.3001, allocations: 87.88 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.3008, allocations: 271.4 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.301, allocations: 28.58 kB / 0.6831 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.3013, allocations: 111.5 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.3017, allocations: 135.5 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.3018, allocations: 16 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.3019, allocations: 20 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.3021, allocations: 72.31 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.3024, allocations: 103.3 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.3028, allocations: 207.3 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.3028, allocations: 4 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3028, allocations: 0 / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.3029, allocations: 4 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB 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.001923/0.3048, allocations: 0.5334 MB / 0.6842 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.3049, allocations: 12.03 kB / 0.6842 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.399e-05/0.305, allocations: 46.73 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.3051, allocations: 32.59 kB / 0.6843 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/0.306, allocations: 266.8 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.3061, allocations: 12.36 kB / 0.6846 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.3062, allocations: 12.38 kB / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.3067, allocations: 148.7 kB / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3067, allocations: 0 / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3068, allocations: 7.984 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/0.3068, allocations: 12.22 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.3074, allocations: 140.6 kB / 0.6849 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.309, allocations: 0.5521 MB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.3096, allocations: 177 kB / 0.6856 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.3099, allocations: 69.14 kB / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3099, allocations: 3.906 kB / 0.6857 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.31, allocations: 34.55 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.965e-06/0.31, allocations: 0 / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.000975/0.311, allocations: 259.1 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.3111, allocations: 55.41 kB / 0.686 GB, free: 10.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.3118, allocations: 241 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.3118, allocations: 37.64 kB / 0.6863 GB, free: 10.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.312, allocations: 136.5 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3122, allocations: 63.02 kB / 0.6864 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.3124, allocations: 53.61 kB / 0.6865 GB, free: 10 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.3126, allocations: 334.8 kB / 0.6868 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3129, allocations: 83.89 kB / 0.6869 GB, free: 9.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.3132, allocations: 81.25 kB / 0.687 GB, free: 9.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.3138, allocations: 184 kB / 0.6871 GB, free: 9.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3139, allocations: 0 / 0.6871 GB, free: 9.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000786/0.3147, allocations: 249.3 kB / 0.6874 GB, free: 9.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.3147, allocations: 4 kB / 0.6874 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3147, allocations: 8 kB / 0.6874 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.3148, allocations: 3.938 kB / 0.6874 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.3154, allocations: 71.89 kB / 0.6875 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3155, allocations: 0 / 0.6875 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.3158, allocations: 19.84 kB / 0.6875 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3158, allocations: 7.938 kB / 0.6875 GB, free: 8.961 MB / 494.1 MB 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.0002328/0.3161, allocations: 134.5 kB / 0.6876 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.3162, allocations: 27.8 kB / 0.6876 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.3163, allocations: 30.17 kB / 0.6877 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.3163, allocations: 11.88 kB / 0.6877 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3163, allocations: 0 / 0.6877 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.3164, allocations: 3.984 kB / 0.6877 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.317, allocations: 301.3 kB / 0.688 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.317, allocations: 0 / 0.688 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.3174, allocations: 27.98 kB / 0.688 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.3174, allocations: 4 kB / 0.688 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.3175, allocations: 11.98 kB / 0.688 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.3175, allocations: 7.938 kB / 0.688 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3175, allocations: 0 / 0.688 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.3185, allocations: 373 kB / 0.6884 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.3188, allocations: 116.8 kB / 0.6885 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.3188, allocations: 15.92 kB / 0.6885 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.3192, allocations: 7.984 kB / 0.6885 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.3193, allocations: 11.98 kB / 0.6885 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3193, allocations: 8 kB / 0.6885 GB, free: 7.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006202/0.3199, allocations: 184.5 kB / 0.6887 GB, free: 7.621 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.32, allocations: 0 / 0.6887 GB, free: 7.621 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005568/0.3205, allocations: 51.84 kB / 0.6888 GB, free: 7.57 MB / 494.1 MB 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.001411/0.3219, allocations: 0.9092 MB / 0.6897 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007154/0.3227, allocations: 203.7 kB / 0.6898 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3227, allocations: 0 / 0.6898 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.323, allocations: 82.25 kB / 0.6899 GB, free: 6.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.3237, allocations: 42.3 kB / 0.69 GB, free: 6.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006759/0.3305, allocations: 2.662 MB / 0.6926 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.3311, allocations: 0.7632 MB / 0.6933 GB, free: 2.789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.3314, allocations: 57.44 kB / 0.6934 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.3317, allocations: 67.41 kB / 0.6934 GB, free: 2.668 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3317, allocations: 0 / 0.6934 GB, free: 2.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.3708, allocations: 4.744 MB / 0.6981 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.56, allocations: 14.94 kB / 0.6981 GB, free: 14.02 MB / 0.4981 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)