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.001027/0.001027, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001073/0.001073, allocations: 197.9 kB / 16.25 MB, free: 6.621 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 290.8 kB / 290.3 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9026/0.9026, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 92.14 kB / 0.5948 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1283, allocations: 86.98 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002574/0.1309, allocations: 1.837 MB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000801/0.1317, allocations: 0.5709 MB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.1318, allocations: 7.938 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.961e-05/0.1319, allocations: 18.73 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.1322, allocations: 71.59 kB / 0.6822 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1323, allocations: 73.58 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.1326, allocations: 267.4 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.1327, allocations: 33.97 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1329, allocations: 116.2 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.133, allocations: 133.5 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.1331, allocations: 16 kB / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.987e-05/0.1331, allocations: 20 kB / 0.6828 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.1332, allocations: 68.42 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.1333, allocations: 111.2 kB / 0.683 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.1335, allocations: 203.3 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1335, allocations: 4 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1335, allocations: 0 / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1335, allocations: 0 / 0.6832 GB, free: 13.45 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.0009224/0.1344, allocations: 0.5373 MB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1345, allocations: 12.03 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.1345, allocations: 50.67 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.1346, allocations: 28.59 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.135, allocations: 266.9 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.135, allocations: 8.375 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.135, allocations: 12.38 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.1353, allocations: 152 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1353, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1354, allocations: 8 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.1354, allocations: 16.2 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.1357, allocations: 140.6 kB / 0.6844 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008331/0.1365, allocations: 0.5482 MB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1368, allocations: 174.5 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1369, allocations: 77.12 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1369, allocations: 3.906 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.137, allocations: 42.5 kB / 0.6852 GB, free: 11.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.137, allocations: 0 / 0.6852 GB, free: 11.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004643/0.1374, allocations: 247.8 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.1375, allocations: 55.41 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.1378, allocations: 245 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1378, allocations: 33.7 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.1379, allocations: 132.5 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.138, allocations: 71 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1381, allocations: 49.61 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1382, allocations: 330.8 kB / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1383, allocations: 87.88 kB / 0.6864 GB, free: 9.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1385, allocations: 85.2 kB / 0.6865 GB, free: 9.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.1387, allocations: 176.1 kB / 0.6866 GB, free: 9.688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1388, allocations: 4 kB / 0.6866 GB, free: 9.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003753/0.1391, allocations: 245.3 kB / 0.6869 GB, free: 9.438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1392, allocations: 8 kB / 0.6869 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1392, allocations: 0 / 0.6869 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1392, allocations: 3.938 kB / 0.6869 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.1395, allocations: 67.89 kB / 0.6869 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1395, allocations: 0 / 0.6869 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.1397, allocations: 27.77 kB / 0.687 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1398, allocations: 15.94 kB / 0.687 GB, free: 9.316 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.0001152/0.1399, allocations: 138.4 kB / 0.6871 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.1399, allocations: 19.81 kB / 0.6871 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/0.14, allocations: 26.19 kB / 0.6872 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.14, allocations: 11.92 kB / 0.6872 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.14, allocations: 0 / 0.6872 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.14, allocations: 0 / 0.6872 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.1404, allocations: 297.3 kB / 0.6875 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1404, allocations: 4 kB / 0.6875 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.1406, allocations: 43.97 kB / 0.6875 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1406, allocations: 0 / 0.6875 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1406, allocations: 4 kB / 0.6875 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1406, allocations: 3.938 kB / 0.6875 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1406, allocations: 0 / 0.6875 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.1412, allocations: 374.3 kB / 0.6879 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1413, allocations: 120.8 kB / 0.688 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.1413, allocations: 7.938 kB / 0.688 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1415, allocations: 15.98 kB / 0.688 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1416, allocations: 11.98 kB / 0.688 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1416, allocations: 8 kB / 0.688 GB, free: 8.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.1419, allocations: 180.5 kB / 0.6882 GB, free: 7.984 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1419, allocations: 0 / 0.6882 GB, free: 7.984 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1422, allocations: 51.84 kB / 0.6882 GB, free: 7.934 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.0007049/0.1429, allocations: 0.9133 MB / 0.6891 GB, free: 6.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.1433, allocations: 199.8 kB / 0.6893 GB, free: 6.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1433, allocations: 0 / 0.6893 GB, free: 6.801 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1434, allocations: 79.91 kB / 0.6894 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1438, allocations: 42.97 kB / 0.6894 GB, free: 6.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.1471, allocations: 2.734 MB / 0.6921 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1474, allocations: 0.7554 MB / 0.6928 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1475, allocations: 53.44 kB / 0.6929 GB, free: 3.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1476, allocations: 67.41 kB / 0.693 GB, free: 2.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1476, allocations: 0 / 0.693 GB, free: 2.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.1623, allocations: 4.652 MB / 0.6975 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.1626, allocations: 216.8 kB / 0.6977 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.858, allocations: 0 / 0.6977 GB, free: 14.22 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)