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.005626/0.005626, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001324/0.001324, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 278.6 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9043/0.9043, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 94.52 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1503, allocations: 86.98 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002309/0.1527, allocations: 1.436 MB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1539, allocations: 0.8389 MB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.1539, allocations: 0 / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1541, allocations: 127.7 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.1542, allocations: 75.78 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.1548, allocations: 183.8 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1549, allocations: 71.8 kB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.155, allocations: 3.938 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.155, allocations: 43.88 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1551, allocations: 79.86 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1551, allocations: 4 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.1555, allocations: 251.7 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.1556, allocations: 63.83 kB / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.1556, allocations: 55.48 kB / 0.769 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.156, allocations: 294.9 kB / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.156, allocations: 0 / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.156, allocations: 0 / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.156, allocations: 0 / 0.7693 GB, free: 5.395 MB / 0.5606 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.0006217/0.1566, allocations: 0.5135 MB / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1567, allocations: 12.03 kB / 0.7698 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.1567, allocations: 34.75 kB / 0.7699 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.1567, allocations: 20.8 kB / 0.7699 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.157, allocations: 259.9 kB / 0.7701 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.157, allocations: 8.125 kB / 0.7701 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.157, allocations: 4 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1572, allocations: 73.66 kB / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.1572, allocations: 0 / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1572, allocations: 0 / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1572, allocations: 8 kB / 0.7702 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.1574, allocations: 87.86 kB / 0.7703 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.1579, allocations: 396.7 kB / 0.7707 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1581, allocations: 94.52 kB / 0.7708 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1582, allocations: 48.89 kB / 0.7708 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.1583, allocations: 19.73 kB / 0.7708 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1583, allocations: 38.56 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.1583, allocations: 0 / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000401/0.1587, allocations: 177.5 kB / 0.771 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.1587, allocations: 55.41 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1591, allocations: 359.2 kB / 0.7714 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1591, allocations: 25.7 kB / 0.7715 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.1592, allocations: 136.1 kB / 0.7716 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.1592, allocations: 3.953 kB / 0.7716 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1592, allocations: 25.7 kB / 0.7716 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1594, allocations: 338.8 kB / 0.7719 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1595, allocations: 99.94 kB / 0.772 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1597, allocations: 99.88 kB / 0.7721 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1599, allocations: 211.1 kB / 0.7723 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1599, allocations: 0 / 0.7723 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003348/0.1603, allocations: 253.4 kB / 0.7726 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1603, allocations: 4 kB / 0.7726 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1603, allocations: 8 kB / 0.7726 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1603, allocations: 0 / 0.7726 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.1604, allocations: 7.984 kB / 0.7726 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1604, allocations: 3.938 kB / 0.7726 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.1605, allocations: 19.84 kB / 0.7726 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1605, allocations: 3.938 kB / 0.7726 GB, free: 1.773 MB / 0.5606 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 9.735e-05/0.1606, allocations: 146.5 kB / 0.7728 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1607, allocations: 19.86 kB / 0.7728 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.1609, allocations: 146.5 kB / 0.7729 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.161, allocations: 4.094 kB / 0.7729 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.161, allocations: 0 / 0.7729 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.161, allocations: 3.984 kB / 0.7729 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1612, allocations: 241.5 kB / 0.7732 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1612, allocations: 0 / 0.7732 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.1612, allocations: 8 kB / 0.7732 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1613, allocations: 4.016 kB / 0.7732 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1613, allocations: 4 kB / 0.7732 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1613, allocations: 0 / 0.7732 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1613, allocations: 0 / 0.7732 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1616, allocations: 239.2 kB / 0.7734 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.1616, allocations: 101 kB / 0.7735 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1617, allocations: 4 kB / 0.7735 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.1618, allocations: 12.02 kB / 0.7735 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.1618, allocations: 4 kB / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1618, allocations: 0 / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000211/0.162, allocations: 253.8 kB / 0.7738 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.162, allocations: 4 kB / 0.7738 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003062/0.1623, allocations: 67.88 kB / 0.7738 GB, free: 448 kB / 0.5606 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.2849/0.4472, allocations: 0.8155 MB / 0.7746 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.4477, allocations: 167 kB / 0.7748 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4477, allocations: 0 / 0.7748 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4478, allocations: 43.36 kB / 0.7748 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4482, allocations: 15.11 kB / 0.7748 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.4509, allocations: 2.733 MB / 0.7775 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.4511, allocations: 0.7398 MB / 0.7782 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.4512, allocations: 15.67 kB / 0.7782 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.4512, allocations: 54.33 kB / 0.7783 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4512, allocations: 0 / 0.7783 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.4711, allocations: 4.419 MB / 0.7826 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.874, allocations: 7.156 kB / 0.7826 GB, free: 12.68 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)