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.001309/0.001309, allocations: 103.7 kB / 15.98 MB, free: 6.355 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.001239/0.00124, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.274/1.274, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 290.3 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8989/0.8989, allocations: 169.2 MB / 0.4985 GB, free: 4.656 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 105.7 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1739, allocations: 86.98 MB / 0.6803 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002878/0.1769, allocations: 1.495 MB / 0.6817 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1785, allocations: 0.8237 MB / 0.6825 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.1785, allocations: 0 / 0.6825 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.1788, allocations: 135.8 kB / 0.6827 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/0.1789, allocations: 71.83 kB / 0.6827 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.1795, allocations: 168 kB / 0.6829 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.1796, allocations: 63.88 kB / 0.683 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.1797, allocations: 3.938 kB / 0.683 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.1797, allocations: 47.81 kB / 0.683 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1799, allocations: 87.84 kB / 0.6831 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1799, allocations: 0 / 0.6831 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.1802, allocations: 247.7 kB / 0.6833 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.1803, allocations: 63.81 kB / 0.6834 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.1804, allocations: 55.48 kB / 0.6834 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1807, allocations: 195.7 kB / 0.6836 GB, free: 5.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1807, allocations: 0 / 0.6836 GB, free: 5.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1807, allocations: 0 / 0.6836 GB, free: 5.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1807, allocations: 0 / 0.6836 GB, free: 5.094 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.0005889/0.1813, allocations: 0.5176 MB / 0.6841 GB, free: 4.527 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1814, allocations: 8.031 kB / 0.6841 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.1814, allocations: 20.66 kB / 0.6842 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1816, allocations: 251.8 kB / 0.6844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1816, allocations: 384 / 0.6844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1817, allocations: 4.125 kB / 0.6844 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1818, allocations: 81.59 kB / 0.6845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1819, allocations: 0 / 0.6845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1819, allocations: 0 / 0.6845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1819, allocations: 4 kB / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.1821, allocations: 87.92 kB / 0.6846 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.1825, allocations: 400.6 kB / 0.685 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1828, allocations: 90.47 kB / 0.685 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.183, allocations: 60.86 kB / 0.6851 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-05/0.183, allocations: 15.98 kB / 0.6851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.1831, allocations: 30.56 kB / 0.6851 GB, free: 3.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1831, allocations: 0 / 0.6851 GB, free: 3.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004068/0.1835, allocations: 185.4 kB / 0.6853 GB, free: 3.195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1835, allocations: 51.41 kB / 0.6854 GB, free: 3.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.1839, allocations: 347.3 kB / 0.6857 GB, free: 2.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1839, allocations: 25.7 kB / 0.6857 GB, free: 2.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.184, allocations: 136 kB / 0.6859 GB, free: 2.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.184, allocations: 15.89 kB / 0.6859 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.184, allocations: 21.72 kB / 0.6859 GB, free: 2.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1842, allocations: 342.7 kB / 0.6862 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1843, allocations: 99.97 kB / 0.6863 GB, free: 2.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1845, allocations: 91.95 kB / 0.6864 GB, free: 2.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.1848, allocations: 208.7 kB / 0.6866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1849, allocations: 0 / 0.6866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003342/0.1852, allocations: 253.2 kB / 0.6868 GB, free: 1.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1852, allocations: 11.98 kB / 0.6869 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1852, allocations: 0 / 0.6869 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1853, allocations: 3.938 kB / 0.6869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.1853, allocations: 8 kB / 0.6869 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1854, allocations: 3.938 kB / 0.6869 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.1854, allocations: 15.83 kB / 0.6869 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1854, allocations: 4 kB / 0.6869 GB, free: 1.539 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.0001048/0.1856, allocations: 145.7 kB / 0.687 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.1856, allocations: 23.72 kB / 0.6871 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.1859, allocations: 138.6 kB / 0.6872 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1859, allocations: 3.984 kB / 0.6872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1859, allocations: 0 / 0.6872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1859, allocations: 3.938 kB / 0.6872 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1861, allocations: 241.5 kB / 0.6874 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1861, allocations: 3.984 kB / 0.6874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.1862, allocations: 8 kB / 0.6874 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1862, allocations: 4.031 kB / 0.6874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1862, allocations: 4 kB / 0.6874 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1862, allocations: 3.984 kB / 0.6874 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1862, allocations: 3.938 kB / 0.6874 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1865, allocations: 231.1 kB / 0.6877 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.1867, allocations: 100.9 kB / 0.6878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1867, allocations: 4.031 kB / 0.6878 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.1868, allocations: 11.98 kB / 0.6878 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.1869, allocations: 0 / 0.6878 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1869, allocations: 0 / 0.6878 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.1872, allocations: 249.9 kB / 0.688 GB, free: 288 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1872, allocations: 0 / 0.688 GB, free: 288 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1875, allocations: 75.97 kB / 0.6881 GB, free: 212 kB / 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.0002764/0.1878, allocations: 165.8 kB / 0.6882 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2697/0.4575, allocations: 152.4 kB / 0.6884 GB, free: 18.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4576, allocations: 0 / 0.6884 GB, free: 18.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4577, allocations: 48.09 kB / 0.6884 GB, free: 18.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.4582, allocations: 15.39 kB / 0.6885 GB, free: 18.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007654/0.459, allocations: 446.6 kB / 0.6889 GB, free: 18.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.4592, allocations: 0.7367 MB / 0.6896 GB, free: 17.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.4592, allocations: 15.88 kB / 0.6896 GB, free: 17.54 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4592, allocations: 3.625 kB / 0.6896 GB, free: 17.54 MB / 494.1 MB Notification: Performance of Templates: time 0.005008/0.4642, allocations: 2.462 MB / 0.692 GB, free: 17.39 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)