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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001178/0.001178, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 286 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9446/0.9446, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 98.34 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1622, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002721/0.165, allocations: 1.432 MB / 0.683 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1663, allocations: 0.8314 MB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.1664, allocations: 0 / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.1666, allocations: 123.8 kB / 0.6839 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.1667, allocations: 71.83 kB / 0.684 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.1674, allocations: 198.6 kB / 0.6842 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1675, allocations: 63.86 kB / 0.6842 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.1675, allocations: 7.797 kB / 0.6842 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.1676, allocations: 43.88 kB / 0.6843 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1677, allocations: 79.8 kB / 0.6844 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1677, allocations: 7.938 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1681, allocations: 247.7 kB / 0.6846 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1683, allocations: 71.81 kB / 0.6847 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.1683, allocations: 59.47 kB / 0.6847 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.1687, allocations: 279.2 kB / 0.685 GB, free: 3.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1687, allocations: 0 / 0.685 GB, free: 3.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1687, allocations: 4 kB / 0.685 GB, free: 3.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.1688, allocations: 0 / 0.685 GB, free: 3.961 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.0007317/0.1695, allocations: 0.5021 MB / 0.6855 GB, free: 3.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1695, allocations: 8.031 kB / 0.6855 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.1696, allocations: 28.64 kB / 0.6855 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1699, allocations: 259.7 kB / 0.6858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.17, allocations: 4.375 kB / 0.6858 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.17, allocations: 4.125 kB / 0.6858 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1702, allocations: 73.66 kB / 0.6859 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1702, allocations: 0 / 0.6859 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.1702, allocations: 4 kB / 0.6859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1702, allocations: 0 / 0.6859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.1704, allocations: 91.92 kB / 0.6859 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.1709, allocations: 396.6 kB / 0.6863 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1711, allocations: 94.52 kB / 0.6864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.1712, allocations: 52.81 kB / 0.6865 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.1712, allocations: 19.98 kB / 0.6865 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1713, allocations: 30.56 kB / 0.6865 GB, free: 2.254 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1713, allocations: 0 / 0.6865 GB, free: 2.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003842/0.1717, allocations: 181.2 kB / 0.6867 GB, free: 2.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1717, allocations: 55.41 kB / 0.6867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.172, allocations: 351.2 kB / 0.6871 GB, free: 1.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1721, allocations: 29.83 kB / 0.6871 GB, free: 1.621 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.1722, allocations: 136 kB / 0.6872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.1722, allocations: 3.906 kB / 0.6872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1722, allocations: 29.7 kB / 0.6873 GB, free: 1.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1723, allocations: 342.8 kB / 0.6876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1725, allocations: 95.94 kB / 0.6877 GB, free: 1.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1726, allocations: 94.91 kB / 0.6878 GB, free: 0.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1729, allocations: 212.7 kB / 0.688 GB, free: 0.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1729, allocations: 0 / 0.688 GB, free: 0.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003442/0.1733, allocations: 249.2 kB / 0.6882 GB, free: 468 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1733, allocations: 10.19 kB / 0.6882 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1733, allocations: 0 / 0.6882 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1733, allocations: 3.984 kB / 0.6882 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.1734, allocations: 15.94 kB / 0.6882 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1734, allocations: 3.938 kB / 0.6882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.1735, allocations: 15.83 kB / 0.6883 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1735, allocations: 0 / 0.6883 GB, free: 420 kB / 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.000108/0.1736, allocations: 145.8 kB / 0.6884 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.1736, allocations: 19.72 kB / 0.6884 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.1739, allocations: 146.6 kB / 0.6886 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1739, allocations: 3.938 kB / 0.6886 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1739, allocations: 0 / 0.6886 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1739, allocations: 0 / 0.6886 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2682/0.4421, allocations: 243.8 kB / 0.6888 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.4421, allocations: 0 / 0.6888 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.4422, allocations: 8.969 kB / 0.6888 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4422, allocations: 1 kB / 0.6888 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.4423, allocations: 3.703 kB / 0.6888 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4423, allocations: 0.5938 kB / 0.6888 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4423, allocations: 1.75 kB / 0.6888 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.4426, allocations: 229.5 kB / 0.689 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.4427, allocations: 103 kB / 0.6891 GB, free: 17.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4427, allocations: 2.828 kB / 0.6891 GB, free: 17.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.4428, allocations: 5.469 kB / 0.6891 GB, free: 17.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.4429, allocations: 7.266 kB / 0.6891 GB, free: 17.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4429, allocations: 1.375 kB / 0.6891 GB, free: 17.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.4431, allocations: 253.8 kB / 0.6894 GB, free: 17.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4432, allocations: 3.281 kB / 0.6894 GB, free: 17.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.4436, allocations: 72.25 kB / 0.6895 GB, free: 17.87 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.0002683/0.4438, allocations: 152.2 kB / 0.6896 GB, free: 17.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.4442, allocations: 158.1 kB / 0.6898 GB, free: 17.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4442, allocations: 0.5625 kB / 0.6898 GB, free: 17.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.4443, allocations: 43.95 kB / 0.6898 GB, free: 17.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4446, allocations: 14.42 kB / 0.6898 GB, free: 17.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.4452, allocations: 374 kB / 0.6902 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.4453, allocations: 0.7439 MB / 0.6909 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.4454, allocations: 13.73 kB / 0.6909 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.4454, allocations: 14.28 kB / 0.6909 GB, free: 16.9 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4454, allocations: 0 / 0.6909 GB, free: 16.9 MB / 494.1 MB Notification: Performance of Templates: time 0.005694/0.4511, allocations: 2.218 MB / 0.6931 GB, free: 16.82 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)