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.007314/0.007314, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001452/0.001452, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 278.5 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9164/0.9164, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 91.86 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1457, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.00257/0.1483, allocations: 1.437 MB / 0.7673 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1496, allocations: 0.8275 MB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.1497, allocations: 7.938 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.1499, allocations: 127.8 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.15, allocations: 67.83 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.1508, allocations: 195.5 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1509, allocations: 63.86 kB / 0.7686 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.151, allocations: 4 kB / 0.7686 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.151, allocations: 43.88 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1512, allocations: 79.84 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1512, allocations: 4 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.1519, allocations: 259.6 kB / 0.7689 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.152, allocations: 63.83 kB / 0.769 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.1521, allocations: 55.48 kB / 0.769 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.1527, allocations: 283.2 kB / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1527, allocations: 4 kB / 0.7693 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1527, allocations: 0 / 0.7693 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.1527, allocations: 0 / 0.7693 GB, free: 5.438 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.0008792/0.1536, allocations: 0.5098 MB / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1536, allocations: 8.031 kB / 0.7698 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.1537, allocations: 30.75 kB / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.1538, allocations: 24.75 kB / 0.7699 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.1541, allocations: 267.5 kB / 0.7701 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1542, allocations: 4.125 kB / 0.7701 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1542, allocations: 0 / 0.7701 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.1544, allocations: 77.66 kB / 0.7702 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.1545, allocations: 0 / 0.7702 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1545, allocations: 0 / 0.7702 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1545, allocations: 0 / 0.7702 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1548, allocations: 91.92 kB / 0.7703 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.1554, allocations: 388.7 kB / 0.7707 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1555, allocations: 102.5 kB / 0.7708 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.1556, allocations: 48.89 kB / 0.7708 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.1557, allocations: 23.73 kB / 0.7708 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1557, allocations: 30.56 kB / 0.7709 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.1558, allocations: 0 / 0.7709 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005583/0.1563, allocations: 177.3 kB / 0.771 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1564, allocations: 51.41 kB / 0.7711 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.1569, allocations: 367.2 kB / 0.7714 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1569, allocations: 25.7 kB / 0.7715 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.157, allocations: 136 kB / 0.7716 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1571, allocations: 4 kB / 0.7716 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.1571, allocations: 29.7 kB / 0.7716 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1573, allocations: 338.8 kB / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1575, allocations: 91.95 kB / 0.772 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1576, allocations: 99.94 kB / 0.7721 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.1579, allocations: 206.6 kB / 0.7723 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1579, allocations: 0 / 0.7723 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003258/0.1582, allocations: 263 kB / 0.7726 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1582, allocations: 6.188 kB / 0.7726 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1583, allocations: 0 / 0.7726 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1583, allocations: 0 / 0.7726 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.1584, allocations: 15.98 kB / 0.7726 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1584, allocations: 0 / 0.7726 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.1584, allocations: 15.78 kB / 0.7726 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1585, allocations: 11.94 kB / 0.7726 GB, free: 1.824 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.613e-05/0.1586, allocations: 142.5 kB / 0.7728 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.1586, allocations: 19.72 kB / 0.7728 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1589, allocations: 142.6 kB / 0.7729 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1589, allocations: 0 / 0.7729 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1589, allocations: 4.031 kB / 0.7729 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1589, allocations: 3.984 kB / 0.7729 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1591, allocations: 245.5 kB / 0.7731 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1591, allocations: 0 / 0.7731 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.1592, allocations: 11.98 kB / 0.7732 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1592, allocations: 4 kB / 0.7732 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1592, allocations: 0 / 0.7732 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1592, allocations: 0 / 0.7732 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1592, allocations: 4.031 kB / 0.7732 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1595, allocations: 235.1 kB / 0.7734 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.1596, allocations: 100.8 kB / 0.7735 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1597, allocations: 0 / 0.7735 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1598, allocations: 7.984 kB / 0.7735 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.1599, allocations: 4.031 kB / 0.7735 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1599, allocations: 0 / 0.7735 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003414/0.1602, allocations: 261.8 kB / 0.7737 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.953e-06/0.1602, allocations: 0 / 0.7737 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005871/0.1608, allocations: 67.94 kB / 0.7738 GB, free: 0.4961 MB / 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.3425/0.5034, allocations: 0.8182 MB / 0.7746 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004584/0.5038, allocations: 156.5 kB / 0.7748 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5039, allocations: 0.5625 kB / 0.7748 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.504, allocations: 46.34 kB / 0.7748 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.5044, allocations: 13.08 kB / 0.7748 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.5072, allocations: 2.725 MB / 0.7775 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.5073, allocations: 0.737 MB / 0.7782 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.322e-05/0.5074, allocations: 16.36 kB / 0.7782 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.5075, allocations: 54.34 kB / 0.7783 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.5075, allocations: 2.344 kB / 0.7783 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.5262, allocations: 4.417 MB / 0.7826 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.129, allocations: 5.625 kB / 0.7826 GB, free: 12.29 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 & /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)