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.001317/0.001317, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 198 kB / 16.54 MB, free: 6.672 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 279 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9351/0.9351, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001735, allocations: 102.1 kB / 0.5954 GB, free: 27.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1286, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002358/0.131, allocations: 1.421 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1322, allocations: 0.8231 MB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.1322, allocations: 0 / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.1324, allocations: 131.7 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.047e-05/0.1325, allocations: 71.84 kB / 0.6827 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.1331, allocations: 201.9 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.1332, allocations: 55.88 kB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1332, allocations: 11.98 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.1332, allocations: 35.91 kB / 0.683 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.1333, allocations: 79.84 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1334, allocations: 7.984 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.1337, allocations: 251.6 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.1338, allocations: 55.83 kB / 0.6833 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.1339, allocations: 55.48 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1342, allocations: 291.2 kB / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1342, allocations: 0 / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1342, allocations: 0 / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1342, allocations: 0 / 0.6837 GB, free: 13.13 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.00058/0.1348, allocations: 0.5138 MB / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.1349, allocations: 8.031 kB / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.536e-05/0.1349, allocations: 30.75 kB / 0.6842 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1349, allocations: 24.66 kB / 0.6842 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1352, allocations: 255.7 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1352, allocations: 8.297 kB / 0.6845 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1352, allocations: 11.92 kB / 0.6845 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1354, allocations: 69.67 kB / 0.6846 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1354, allocations: 4 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1354, allocations: 0 / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1354, allocations: 0 / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1356, allocations: 91.92 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.1361, allocations: 392.7 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1362, allocations: 98.45 kB / 0.6851 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1364, allocations: 45.41 kB / 0.6852 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.1364, allocations: 19.98 kB / 0.6852 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.1364, allocations: 34.56 kB / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1364, allocations: 0 / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004027/0.1368, allocations: 177.3 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.1369, allocations: 55.34 kB / 0.6854 GB, free: 11.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.1372, allocations: 359.2 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1372, allocations: 25.7 kB / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1373, allocations: 140 kB / 0.6859 GB, free: 10.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.1373, allocations: 3.906 kB / 0.686 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1374, allocations: 29.7 kB / 0.686 GB, free: 10.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1375, allocations: 342.9 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1377, allocations: 91.95 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1378, allocations: 95.94 kB / 0.6865 GB, free: 10.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1381, allocations: 207 kB / 0.6867 GB, free: 9.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1381, allocations: 0 / 0.6867 GB, free: 9.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000361/0.1385, allocations: 257.2 kB / 0.6869 GB, free: 9.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1385, allocations: 7.938 kB / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1385, allocations: 0 / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1385, allocations: 7.938 kB / 0.6869 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.1386, allocations: 7.984 kB / 0.687 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1386, allocations: 0 / 0.687 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.1387, allocations: 15.84 kB / 0.687 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1387, allocations: 0 / 0.687 GB, free: 9.531 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.0001061/0.1388, allocations: 159 kB / 0.6871 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.1389, allocations: 19.72 kB / 0.6871 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.1391, allocations: 138.6 kB / 0.6873 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1392, allocations: 0 / 0.6873 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1392, allocations: 4 kB / 0.6873 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1392, allocations: 0 / 0.6873 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.1394, allocations: 241.5 kB / 0.6875 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.1394, allocations: 0 / 0.6875 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.1395, allocations: 19.95 kB / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1395, allocations: 0 / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.1395, allocations: 0 / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1395, allocations: 0 / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1395, allocations: 0 / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1398, allocations: 239.1 kB / 0.6878 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.1399, allocations: 100.8 kB / 0.6878 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1399, allocations: 0 / 0.6878 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.14, allocations: 7.984 kB / 0.6879 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.14, allocations: 0 / 0.6879 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.14, allocations: 8 kB / 0.6879 GB, free: 8.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.1403, allocations: 253.9 kB / 0.6881 GB, free: 8.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1403, allocations: 0 / 0.6881 GB, free: 8.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1406, allocations: 71.94 kB / 0.6882 GB, free: 8.191 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.0006716/0.1413, allocations: 0.8177 MB / 0.689 GB, free: 7.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.1416, allocations: 156 kB / 0.6891 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1416, allocations: 8.031 kB / 0.6891 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1417, allocations: 47.91 kB / 0.6892 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.142, allocations: 13.44 kB / 0.6892 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.1448, allocations: 2.721 MB / 0.6918 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.145, allocations: 0.7405 MB / 0.6926 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.434e-05/0.1451, allocations: 28.38 kB / 0.6926 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.1452, allocations: 55.42 kB / 0.6926 GB, free: 3.477 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1452, allocations: 0 / 0.6926 GB, free: 3.477 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.1635, allocations: 4.38 MB / 0.6969 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.058, allocations: 10.5 kB / 0.6969 GB, free: 15.24 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 & 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)