Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.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.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate",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.0007477/0.0007478, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004259/0.004259, allocations: 175.3 kB / 16.27 MB, free: 6.613 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 271.3 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004405, allocations: 21.11 kB / 0.5988 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1673, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001704/0.169, allocations: 1.158 MB / 0.6864 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1705, allocations: 0.841 MB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.1705, allocations: 0.5625 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.1708, allocations: 134.3 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1709, allocations: 76.38 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.1715, allocations: 137.1 kB / 0.6875 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1716, allocations: 62.16 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.1717, allocations: 7.938 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.1717, allocations: 39.83 kB / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1719, allocations: 79.84 kB / 0.6877 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1719, allocations: 0.5 kB / 0.6877 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.1723, allocations: 240.4 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.1724, allocations: 63.77 kB / 0.688 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.1725, allocations: 81.84 kB / 0.6881 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.1729, allocations: 283.2 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1729, allocations: 5.031 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1729, allocations: 0 / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1729, allocations: 0 / 0.6883 GB, free: 11.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006536/0.1736, allocations: 0.49 MB / 0.6888 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.1736, allocations: 8.031 kB / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.1737, allocations: 38.69 kB / 0.6889 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.1737, allocations: 24.64 kB / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.174, allocations: 255.8 kB / 0.6891 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.174, allocations: 1.062 kB / 0.6891 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.174, allocations: 3.938 kB / 0.6891 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1742, allocations: 83.38 kB / 0.6892 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1743, allocations: 0 / 0.6892 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1743, allocations: 0.8125 kB / 0.6892 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1743, allocations: 0 / 0.6892 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1745, allocations: 102.3 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.1751, allocations: 404.6 kB / 0.6897 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1752, allocations: 94.53 kB / 0.6898 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1754, allocations: 60.88 kB / 0.6898 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.273e-05/0.1754, allocations: 15.98 kB / 0.6899 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1755, allocations: 34.56 kB / 0.6899 GB, free: 10.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1755, allocations: 0 / 0.6899 GB, free: 10.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004574/0.1759, allocations: 201.2 kB / 0.6901 GB, free: 9.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.176, allocations: 51.41 kB / 0.6901 GB, free: 9.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.1763, allocations: 347.3 kB / 0.6905 GB, free: 9.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1764, allocations: 25.7 kB / 0.6905 GB, free: 9.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.1764, allocations: 144.1 kB / 0.6906 GB, free: 9.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.1765, allocations: 15.89 kB / 0.6906 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.1765, allocations: 17.72 kB / 0.6907 GB, free: 9.203 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1767, allocations: 338.8 kB / 0.691 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.1768, allocations: 99.94 kB / 0.6911 GB, free: 8.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.177, allocations: 104 kB / 0.6912 GB, free: 8.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.1773, allocations: 218.8 kB / 0.6914 GB, free: 8.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1773, allocations: 0 / 0.6914 GB, free: 8.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003721/0.1777, allocations: 265.2 kB / 0.6916 GB, free: 8.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1777, allocations: 5.875 kB / 0.6916 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1777, allocations: 4 kB / 0.6917 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1777, allocations: 4 kB / 0.6917 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.1778, allocations: 15.92 kB / 0.6917 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1779, allocations: 0 / 0.6917 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.1779, allocations: 31.77 kB / 0.6917 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1779, allocations: 96 / 0.6917 GB, free: 8.125 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001274/0.1781, allocations: 143.1 kB / 0.6918 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.1781, allocations: 23.7 kB / 0.6919 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.1784, allocations: 158.5 kB / 0.692 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1784, allocations: 0 / 0.692 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1784, allocations: 0 / 0.692 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1785, allocations: 0 / 0.692 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.1787, allocations: 245.5 kB / 0.6922 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1787, allocations: 0 / 0.6922 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.1788, allocations: 11.98 kB / 0.6923 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1788, allocations: 4.031 kB / 0.6923 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1788, allocations: 4 kB / 0.6923 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.1788, allocations: 4 kB / 0.6923 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1788, allocations: 0 / 0.6923 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1791, allocations: 239.2 kB / 0.6925 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.1792, allocations: 104.8 kB / 0.6926 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1792, allocations: 0 / 0.6926 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.1793, allocations: 7.938 kB / 0.6926 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.1794, allocations: 7.984 kB / 0.6926 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1794, allocations: 0 / 0.6926 GB, free: 7.086 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.1796, allocations: 253.9 kB / 0.6929 GB, free: 6.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1796, allocations: 32 / 0.6929 GB, free: 6.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.18, allocations: 75.92 kB / 0.6929 GB, free: 6.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0007696/0.1807, allocations: 0.8215 MB / 0.6937 GB, free: 5.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1811, allocations: 175.8 kB / 0.6939 GB, free: 5.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1811, allocations: 0 / 0.6939 GB, free: 5.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1812, allocations: 51.98 kB / 0.6939 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1815, allocations: 13.41 kB / 0.694 GB, free: 5.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.1846, allocations: 2.784 MB / 0.6967 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1849, allocations: 0.7375 MB / 0.6974 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.666e-05/0.185, allocations: 16.55 kB / 0.6974 GB, free: 2.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.1851, allocations: 55.41 kB / 0.6975 GB, free: 1.988 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1851, allocations: 0 / 0.6975 GB, free: 1.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.2001, allocations: 4.089 MB / 0.7015 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.2004, allocations: 222.3 kB / 0.7017 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.945, allocations: 2.5 kB / 0.7017 GB, free: 13.84 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)