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.001296/0.001296, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001352/0.001352, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 282.9 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9722/0.9722, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 97.62 kB / 0.5948 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1599, allocations: 86.98 MB / 0.6797 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002626/0.1625, allocations: 1.488 MB / 0.6812 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1638, allocations: 0.8298 MB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.1638, allocations: 1.969 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.1641, allocations: 139.7 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.1642, allocations: 63.84 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.1647, allocations: 171.7 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.1648, allocations: 63.88 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.1649, allocations: 4 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.1649, allocations: 39.89 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.165, allocations: 87.78 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.165, allocations: 4 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.1654, allocations: 247.7 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.1655, allocations: 59.83 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.1655, allocations: 59.48 kB / 0.6829 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.1658, allocations: 287.2 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1659, allocations: 0 / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1659, allocations: 0 / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1659, allocations: 0 / 0.6832 GB, free: 13.46 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.000606/0.1665, allocations: 0.5138 MB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1665, allocations: 8.031 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.1666, allocations: 38.73 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.1666, allocations: 24.66 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1669, allocations: 255.7 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1669, allocations: 8.359 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.1669, allocations: 7.938 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1671, allocations: 69.67 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1671, allocations: 0 / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1671, allocations: 4 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1671, allocations: 3.984 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.1673, allocations: 83.94 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.1678, allocations: 392.7 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1679, allocations: 98.45 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.306e-05/0.168, allocations: 44.89 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.1681, allocations: 15.98 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1681, allocations: 34.56 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1681, allocations: 0 / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003815/0.1685, allocations: 185.2 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1685, allocations: 51.41 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1688, allocations: 355.2 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1689, allocations: 25.7 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.169, allocations: 144 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.169, allocations: 3.906 kB / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.169, allocations: 29.83 kB / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1691, allocations: 346.7 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1693, allocations: 91.95 kB / 0.6859 GB, free: 10.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1694, allocations: 95.94 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1697, allocations: 206.6 kB / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1697, allocations: 0 / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003126/0.17, allocations: 261.2 kB / 0.6864 GB, free: 9.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.17, allocations: 4 kB / 0.6864 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.17, allocations: 3.938 kB / 0.6864 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1701, allocations: 4 kB / 0.6864 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.1701, allocations: 7.984 kB / 0.6864 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1702, allocations: 0 / 0.6864 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.1702, allocations: 15.84 kB / 0.6865 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1702, allocations: 0 / 0.6865 GB, free: 9.855 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.0001018/0.1703, allocations: 155 kB / 0.6866 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1704, allocations: 19.72 kB / 0.6866 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.1706, allocations: 138.6 kB / 0.6868 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1707, allocations: 3.938 kB / 0.6868 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1707, allocations: 4 kB / 0.6868 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1707, allocations: 0 / 0.6868 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.1709, allocations: 245.6 kB / 0.687 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1709, allocations: 0 / 0.687 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.171, allocations: 11.98 kB / 0.687 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.171, allocations: 0 / 0.687 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.171, allocations: 0 / 0.687 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.171, allocations: 4 kB / 0.687 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.171, allocations: 3.984 kB / 0.687 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1713, allocations: 239.1 kB / 0.6873 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1713, allocations: 100.8 kB / 0.6873 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1714, allocations: 0 / 0.6873 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.1714, allocations: 7.984 kB / 0.6874 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1715, allocations: 96 / 0.6874 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1715, allocations: 7.984 kB / 0.6874 GB, free: 8.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.1717, allocations: 249.9 kB / 0.6876 GB, free: 8.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1717, allocations: 3.938 kB / 0.6876 GB, free: 8.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.1721, allocations: 75.97 kB / 0.6877 GB, free: 8.512 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.00067/0.1727, allocations: 0.8138 MB / 0.6885 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1731, allocations: 159.9 kB / 0.6886 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.1731, allocations: 0 / 0.6886 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1732, allocations: 51.84 kB / 0.6887 GB, free: 7.465 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1735, allocations: 19.61 kB / 0.6887 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.1762, allocations: 2.745 MB / 0.6914 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1766, allocations: 0.7429 MB / 0.6921 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.1766, allocations: 20.41 kB / 0.6921 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.1767, allocations: 55.42 kB / 0.6922 GB, free: 3.781 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1767, allocations: 0 / 0.6922 GB, free: 3.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.191, allocations: 4.233 MB / 0.6963 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.1913, allocations: 225.9 kB / 0.6965 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.08, allocations: 0 / 0.6965 GB, free: 15.48 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)