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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001231/0.001231, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 286.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8467/0.8467, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 88.19 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1376, allocations: 86.98 MB / 0.6795 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002173/0.1398, allocations: 1.496 MB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1409, allocations: 0.8562 MB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.1409, allocations: 0.75 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1411, allocations: 134.1 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.1412, allocations: 74.8 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.1416, allocations: 146.4 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.1417, allocations: 59.88 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.019e-05/0.1417, allocations: 11.88 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.1418, allocations: 37.45 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.1419, allocations: 79.84 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1419, allocations: 0 / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.1422, allocations: 240.4 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1423, allocations: 59.83 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.1423, allocations: 56.36 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1426, allocations: 287.2 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1427, allocations: 4.625 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1427, allocations: 0 / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1427, allocations: 1.5 kB / 0.683 GB, free: 13.6 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.0005179/0.1432, allocations: 0.5082 MB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1432, allocations: 12.59 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.1433, allocations: 34.75 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1433, allocations: 20.66 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1435, allocations: 251.8 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1435, allocations: 4.375 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1436, allocations: 7.938 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1437, allocations: 73.59 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1437, allocations: 0 / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1438, allocations: 8 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1438, allocations: 0 / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.1439, allocations: 83.94 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.1444, allocations: 400.6 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1445, allocations: 82.53 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.1446, allocations: 56.83 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.1447, allocations: 19.98 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1447, allocations: 34.55 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1447, allocations: 0 / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003661/0.1451, allocations: 173.3 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.1451, allocations: 55.53 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.1454, allocations: 351.3 kB / 0.6851 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1454, allocations: 25.7 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.1455, allocations: 147.9 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.1455, allocations: 3.906 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.1456, allocations: 29.7 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.1457, allocations: 342.8 kB / 0.6856 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1458, allocations: 99.88 kB / 0.6857 GB, free: 10.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1459, allocations: 98.34 kB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.1462, allocations: 200.7 kB / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1462, allocations: 0 / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000305/0.1465, allocations: 253.2 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1465, allocations: 11.94 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.1465, allocations: 7.938 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.1466, allocations: 4 kB / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.1466, allocations: 7.984 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1466, allocations: 4 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.1467, allocations: 15.83 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1467, allocations: 3.938 kB / 0.6863 GB, free: 10 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 9.14e-05/0.1468, allocations: 143.1 kB / 0.6864 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.1469, allocations: 23.72 kB / 0.6864 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1471, allocations: 146.6 kB / 0.6866 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1471, allocations: 0 / 0.6866 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1471, allocations: 0 / 0.6866 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1471, allocations: 4.078 kB / 0.6866 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1473, allocations: 241.5 kB / 0.6868 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1473, allocations: 0 / 0.6868 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.1474, allocations: 11.98 kB / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1474, allocations: 0 / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1474, allocations: 4.031 kB / 0.6868 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1474, allocations: 0 / 0.6868 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1475, allocations: 4 kB / 0.6868 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1477, allocations: 235.1 kB / 0.687 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1478, allocations: 104.8 kB / 0.6871 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1478, allocations: 0 / 0.6871 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1479, allocations: 8.031 kB / 0.6872 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1479, allocations: 7.984 kB / 0.6872 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.1479, allocations: 0 / 0.6872 GB, free: 8.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1481, allocations: 249.9 kB / 0.6874 GB, free: 8.742 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1481, allocations: 0 / 0.6874 GB, free: 8.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1484, allocations: 75.92 kB / 0.6875 GB, free: 8.668 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.0006534/0.1491, allocations: 0.8138 MB / 0.6883 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1494, allocations: 155.9 kB / 0.6884 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1494, allocations: 0 / 0.6884 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.1495, allocations: 51.94 kB / 0.6885 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1498, allocations: 18.8 kB / 0.6885 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.1522, allocations: 2.75 MB / 0.6912 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1524, allocations: 0.7407 MB / 0.6919 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.678e-05/0.1525, allocations: 20.48 kB / 0.6919 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.1525, allocations: 51.42 kB / 0.692 GB, free: 3.941 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1525, allocations: 0 / 0.692 GB, free: 3.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.475/1.628, allocations: 4.186 MB / 0.696 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/1.628, allocations: 218.9 kB / 0.6963 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/3.257, allocations: 0 / 0.6963 GB, free: 15.68 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)