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.001028/0.001028, allocations: 108 kB / 15.6 MB, free: 132 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.0009871/0.0009872, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 287 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8822/0.8822, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 95.12 kB / 0.5953 GB, free: 27.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.122, allocations: 86.99 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002704/0.1248, allocations: 1.777 MB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.1257, allocations: 0.5805 MB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1258, allocations: 7.938 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1259, allocations: 23.73 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.1263, allocations: 65.69 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1265, allocations: 92.42 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.1268, allocations: 267.4 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1269, allocations: 39.09 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.127, allocations: 108.3 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1272, allocations: 136.8 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.1273, allocations: 16 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.145e-05/0.1273, allocations: 20.75 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.808e-05/0.1274, allocations: 72.31 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.743e-05/0.1275, allocations: 100 kB / 0.6835 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1277, allocations: 211.2 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1278, allocations: 4 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1278, allocations: 0 / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1278, allocations: 4 kB / 0.6837 GB, free: 13.1 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.0009316/0.1287, allocations: 0.5334 MB / 0.6842 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1288, allocations: 8.031 kB / 0.6842 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.1288, allocations: 50.72 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.1289, allocations: 24.66 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.1293, allocations: 270.8 kB / 0.6846 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1293, allocations: 12.38 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1293, allocations: 12.38 kB / 0.6846 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1296, allocations: 149.2 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1296, allocations: 0 / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1296, allocations: 7.984 kB / 0.6847 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.1296, allocations: 16.17 kB / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.1299, allocations: 136.6 kB / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.1308, allocations: 0.5443 MB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1311, allocations: 182.5 kB / 0.6856 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1312, allocations: 65.14 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1312, allocations: 11.89 kB / 0.6857 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.1312, allocations: 34.56 kB / 0.6857 GB, free: 10.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1312, allocations: 0 / 0.6857 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004694/0.1317, allocations: 259.1 kB / 0.6859 GB, free: 10.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.1317, allocations: 51.41 kB / 0.686 GB, free: 10.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1321, allocations: 245 kB / 0.6862 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1321, allocations: 29.7 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.1322, allocations: 144.5 kB / 0.6864 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.1323, allocations: 67 kB / 0.6865 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.1323, allocations: 49.61 kB / 0.6865 GB, free: 10.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.1324, allocations: 334.8 kB / 0.6868 GB, free: 9.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.1326, allocations: 79.89 kB / 0.6869 GB, free: 9.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1327, allocations: 85.25 kB / 0.687 GB, free: 9.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.133, allocations: 179.9 kB / 0.6871 GB, free: 9.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.133, allocations: 0 / 0.6871 GB, free: 9.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00038/0.1334, allocations: 261.1 kB / 0.6874 GB, free: 9.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1334, allocations: 4 kB / 0.6874 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1334, allocations: 0 / 0.6874 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1334, allocations: 7.938 kB / 0.6874 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.1338, allocations: 67.91 kB / 0.6875 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1338, allocations: 3.984 kB / 0.6875 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.134, allocations: 19.84 kB / 0.6875 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.134, allocations: 4 kB / 0.6875 GB, free: 8.977 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 9.85e-05/0.1341, allocations: 142.4 kB / 0.6876 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.1341, allocations: 15.81 kB / 0.6876 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.1342, allocations: 34.17 kB / 0.6877 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1342, allocations: 3.938 kB / 0.6877 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1342, allocations: 4 kB / 0.6877 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1342, allocations: 0 / 0.6877 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.1345, allocations: 305.3 kB / 0.688 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1345, allocations: 0 / 0.688 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.1347, allocations: 31.92 kB / 0.688 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1348, allocations: 4 kB / 0.688 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1348, allocations: 11.98 kB / 0.688 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1348, allocations: 7.938 kB / 0.688 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1348, allocations: 0 / 0.688 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.1353, allocations: 368.7 kB / 0.6884 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.1354, allocations: 120.8 kB / 0.6885 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.1354, allocations: 15.92 kB / 0.6885 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1356, allocations: 8 kB / 0.6885 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1357, allocations: 11.98 kB / 0.6885 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1357, allocations: 7.984 kB / 0.6885 GB, free: 7.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.136, allocations: 176.5 kB / 0.6887 GB, free: 7.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.136, allocations: 0 / 0.6887 GB, free: 7.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1362, allocations: 55.84 kB / 0.6888 GB, free: 7.59 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.0006888/0.1369, allocations: 0.9111 MB / 0.6897 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.1373, allocations: 195.8 kB / 0.6898 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1373, allocations: 0 / 0.6898 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1374, allocations: 82.55 kB / 0.6899 GB, free: 6.383 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1378, allocations: 56.28 kB / 0.69 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.1411, allocations: 2.664 MB / 0.6926 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1414, allocations: 0.7593 MB / 0.6933 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1415, allocations: 57.48 kB / 0.6934 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1416, allocations: 71.34 kB / 0.6934 GB, free: 2.676 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1417, allocations: 0 / 0.6934 GB, free: 2.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1927/0.3343, allocations: 4.749 MB / 0.6981 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.449, allocations: 8.875 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1)