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.001321/0.001321, allocations: 108.8 kB / 16.41 MB, free: 6.449 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.001312/0.001312, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 293.1 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5527, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002703/0.5554, allocations: 1.426 MB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.5572, allocations: 0.8402 MB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.5573, allocations: 0 / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.5576, allocations: 123.8 kB / 0.7694 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.5577, allocations: 75.83 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008694/0.5586, allocations: 203.4 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.5587, allocations: 59.88 kB / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.5588, allocations: 3.797 kB / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.5589, allocations: 51.81 kB / 0.7698 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.559, allocations: 87.78 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.559, allocations: 0 / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.5595, allocations: 247.7 kB / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.5597, allocations: 59.83 kB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.5598, allocations: 59.48 kB / 0.7702 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.5602, allocations: 292.8 kB / 0.7705 GB, free: 424 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5602, allocations: 0 / 0.7705 GB, free: 424 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5602, allocations: 3.938 kB / 0.7705 GB, free: 420 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.5602, allocations: 0 / 0.7705 GB, free: 420 kB / 0.5294 GB 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.0009799/0.5612, allocations: 0.5135 MB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5613, allocations: 8.031 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.5613, allocations: 20.8 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.5617, allocations: 259.9 kB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5617, allocations: 4.359 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.5617, allocations: 7.938 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.5619, allocations: 69.67 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.562, allocations: 0 / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.562, allocations: 15.97 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.562, allocations: 3.938 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.5622, allocations: 83.94 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.5629, allocations: 404.6 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.5631, allocations: 94.52 kB / 0.7719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.5632, allocations: 44.89 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.157e-05/0.5632, allocations: 19.73 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5633, allocations: 34.56 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5633, allocations: 0 / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000478/0.5637, allocations: 185.4 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.5638, allocations: 51.41 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.5642, allocations: 351.2 kB / 0.7726 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.5642, allocations: 25.7 kB / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5643, allocations: 140 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.5643, allocations: 7.953 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.5644, allocations: 25.7 kB / 0.7728 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.5646, allocations: 346.9 kB / 0.7731 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.5647, allocations: 91.95 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.5649, allocations: 95.94 kB / 0.7733 GB, free: 13.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.5652, allocations: 204.8 kB / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5652, allocations: 0 / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003969/0.5656, allocations: 264.4 kB / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5656, allocations: 4 kB / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5656, allocations: 0 / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5657, allocations: 3.938 kB / 0.7737 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.5658, allocations: 11.98 kB / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5658, allocations: 0 / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.5658, allocations: 15.84 kB / 0.7737 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.5658, allocations: 4 kB / 0.7737 GB, free: 12.84 MB / 0.545 GB 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.0001371/0.566, allocations: 152.8 kB / 0.7739 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.566, allocations: 23.86 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.5663, allocations: 142.5 kB / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5663, allocations: 0 / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5663, allocations: 0 / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5663, allocations: 0 / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.5666, allocations: 245.5 kB / 0.7743 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5666, allocations: 0 / 0.7743 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.5667, allocations: 11.92 kB / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5667, allocations: 8.031 kB / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.5667, allocations: 0 / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5667, allocations: 0 / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5667, allocations: 0 / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.567, allocations: 235.3 kB / 0.7745 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.834e-05/0.5671, allocations: 101 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.5672, allocations: 7.969 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.5672, allocations: 11.98 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.5673, allocations: 0 / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.5673, allocations: 0 / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002788/0.5676, allocations: 253.9 kB / 0.7749 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5676, allocations: 0 / 0.7749 GB, free: 11.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003863/0.5679, allocations: 75.81 kB / 0.775 GB, free: 11.5 MB / 0.545 GB 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.0003001/0.5682, allocations: 159.1 kB / 0.7751 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.5686, allocations: 143.9 kB / 0.7752 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5686, allocations: 0 / 0.7752 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.5687, allocations: 43.97 kB / 0.7753 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.569, allocations: 9.219 kB / 0.7753 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.5696, allocations: 387.6 kB / 0.7757 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.5701, allocations: 0.7359 MB / 0.7764 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.5701, allocations: 12.56 kB / 0.7764 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.5701, allocations: 19.44 kB / 0.7764 GB, free: 9.949 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.5701, allocations: 0 / 0.7764 GB, free: 9.949 MB / 0.545 GB Notification: Performance of Templates: time 0.005881/0.576, allocations: 2.233 MB / 0.7786 GB, free: 7.719 MB / 0.545 GB 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)