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.007223/0.007223, allocations: 98.83 kB / 15.73 MB, free: 6.031 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.001856/0.001857, allocations: 193.8 kB / 16.67 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002388/0.002388, allocations: 285.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9519/0.9519, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 87.86 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4159, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002393/0.4183, allocations: 1.441 MB / 0.7673 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.4196, allocations: 0.8362 MB / 0.7681 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.4197, allocations: 0 / 0.7681 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.4199, allocations: 131.7 kB / 0.7682 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.42, allocations: 75.81 kB / 0.7683 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.4206, allocations: 207.3 kB / 0.7685 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.4207, allocations: 51.89 kB / 0.7686 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.4208, allocations: 7.984 kB / 0.7686 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.4208, allocations: 39.83 kB / 0.7686 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.4209, allocations: 83.84 kB / 0.7687 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.421, allocations: 0 / 0.7687 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.4214, allocations: 251.7 kB / 0.7689 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.4214, allocations: 63.83 kB / 0.769 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.4215, allocations: 55.48 kB / 0.769 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.4219, allocations: 292.3 kB / 0.7693 GB, free: 344 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4219, allocations: 0 / 0.7693 GB, free: 344 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4219, allocations: 0 / 0.7693 GB, free: 344 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4219, allocations: 0 / 0.7693 GB, free: 344 kB / 0.5294 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.000672/0.4226, allocations: 0.5135 MB / 0.7698 GB, free: 15.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4226, allocations: 12.03 kB / 0.7698 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.4227, allocations: 34.75 kB / 0.7699 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.4227, allocations: 20.8 kB / 0.7699 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.423, allocations: 263.8 kB / 0.7701 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.423, allocations: 12.12 kB / 0.7702 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.423, allocations: 0 / 0.7702 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.4232, allocations: 73.66 kB / 0.7702 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.4232, allocations: 0 / 0.7702 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4232, allocations: 4 kB / 0.7702 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4232, allocations: 0 / 0.7702 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.4234, allocations: 83.88 kB / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.424, allocations: 404.7 kB / 0.7707 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.4241, allocations: 86.53 kB / 0.7708 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4243, allocations: 48.89 kB / 0.7708 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.4243, allocations: 23.73 kB / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4243, allocations: 34.56 kB / 0.7709 GB, free: 14.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4244, allocations: 0 / 0.7709 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004102/0.4248, allocations: 177.4 kB / 0.7711 GB, free: 14.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4248, allocations: 55.41 kB / 0.7711 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.4252, allocations: 359.2 kB / 0.7714 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.4252, allocations: 25.7 kB / 0.7715 GB, free: 13.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.4253, allocations: 136.2 kB / 0.7716 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.4253, allocations: 7.953 kB / 0.7716 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.4254, allocations: 37.62 kB / 0.7716 GB, free: 13.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4255, allocations: 338.8 kB / 0.772 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.4257, allocations: 91.95 kB / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.4258, allocations: 95.94 kB / 0.7721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.4261, allocations: 204.8 kB / 0.7723 GB, free: 13.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4261, allocations: 0 / 0.7723 GB, free: 13.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003609/0.4265, allocations: 257.3 kB / 0.7726 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4265, allocations: 8 kB / 0.7726 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4265, allocations: 0 / 0.7726 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.4266, allocations: 0 / 0.7726 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.4266, allocations: 15.98 kB / 0.7726 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.4267, allocations: 0 / 0.7726 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.4267, allocations: 27.83 kB / 0.7726 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4268, allocations: 3.938 kB / 0.7726 GB, free: 12.71 MB / 0.545 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 0.000108/0.4269, allocations: 140.2 kB / 0.7728 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.4269, allocations: 19.86 kB / 0.7728 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.4272, allocations: 150.5 kB / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4272, allocations: 96 / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4272, allocations: 8.016 kB / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4272, allocations: 0 / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.4275, allocations: 241.5 kB / 0.7732 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4275, allocations: 0 / 0.7732 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.4276, allocations: 11.98 kB / 0.7732 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4276, allocations: 3.938 kB / 0.7732 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.4276, allocations: 0 / 0.7732 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4276, allocations: 0 / 0.7732 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4276, allocations: 4 kB / 0.7732 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.4279, allocations: 231.3 kB / 0.7734 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.428, allocations: 104.9 kB / 0.7735 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.428, allocations: 0 / 0.7735 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4281, allocations: 7.984 kB / 0.7735 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.4281, allocations: 8 kB / 0.7735 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.4282, allocations: 0 / 0.7735 GB, free: 11.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002478/0.4284, allocations: 261.9 kB / 0.7738 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4284, allocations: 0 / 0.7738 GB, free: 11.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000411/0.4288, allocations: 67.88 kB / 0.7738 GB, free: 11.38 MB / 0.545 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.0007517/0.4296, allocations: 0.8216 MB / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.4299, allocations: 159.8 kB / 0.7748 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4299, allocations: 0 / 0.7748 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.43, allocations: 43.97 kB / 0.7748 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4304, allocations: 13.53 kB / 0.7749 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.4334, allocations: 2.723 MB / 0.7775 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.4337, allocations: 0.7397 MB / 0.7782 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.4338, allocations: 16.56 kB / 0.7783 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.4339, allocations: 55.41 kB / 0.7783 GB, free: 6.688 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.4339, allocations: 0 / 0.7783 GB, free: 6.688 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/1.646, allocations: 4.415 MB / 0.7826 GB, free: 2.441 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.79, allocations: 8.625 kB / 0.7826 GB, free: 2.434 MB / 0.545 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)