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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 103.8 kB / 16.41 MB, free: 6.5 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.001693/0.001693, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 276.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4974, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002569/0.5, allocations: 1.426 MB / 0.7684 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.5014, allocations: 0.8324 MB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.5015, allocations: 3.938 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.5017, allocations: 127.8 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.29e-05/0.5018, allocations: 75.77 kB / 0.7695 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.5025, allocations: 205.2 kB / 0.7697 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.5026, allocations: 59.88 kB / 0.7697 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.5027, allocations: 8 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.5028, allocations: 47.81 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.5029, allocations: 71.86 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.5029, allocations: 4 kB / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.5033, allocations: 251.6 kB / 0.7701 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.089e-05/0.5034, allocations: 59.83 kB / 0.7701 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.5035, allocations: 63.48 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.5039, allocations: 279.2 kB / 0.7705 GB, free: 404 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5039, allocations: 0 / 0.7705 GB, free: 404 kB / 0.5294 GB Notification: Performance of FrontEnd: time 5.471e-06/0.5039, allocations: 0 / 0.7705 GB, free: 404 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.5039, allocations: 7.938 kB / 0.7705 GB, free: 396 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.0006908/0.5046, allocations: 0.5008 MB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5047, allocations: 16.02 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.5047, allocations: 20.66 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.505, allocations: 259.6 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.505, allocations: 4.375 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.505, allocations: 3.938 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.5052, allocations: 77.66 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5052, allocations: 0 / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5053, allocations: 4 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.5053, allocations: 0 / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.5055, allocations: 83.92 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.506, allocations: 392.7 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.5062, allocations: 94.47 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.5064, allocations: 56.86 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.5064, allocations: 23.73 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.5064, allocations: 30.56 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5064, allocations: 0 / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004596/0.5069, allocations: 185.2 kB / 0.7722 GB, free: 14.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.507, allocations: 51.41 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.5073, allocations: 359.1 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.5074, allocations: 25.7 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.5075, allocations: 132.1 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.5075, allocations: 11.88 kB / 0.7727 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.5075, allocations: 25.84 kB / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5077, allocations: 342.8 kB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.5078, allocations: 99.88 kB / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.508, allocations: 91.95 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.5083, allocations: 211.8 kB / 0.7734 GB, free: 13.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5083, allocations: 0 / 0.7734 GB, free: 13.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003608/0.5087, allocations: 257.2 kB / 0.7737 GB, free: 12.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5087, allocations: 8 kB / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5087, allocations: 3.984 kB / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5087, allocations: 0 / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.5088, allocations: 4 kB / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5088, allocations: 0 / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.5089, allocations: 19.83 kB / 0.7737 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.5089, allocations: 0 / 0.7737 GB, free: 12.84 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.0001249/0.5091, allocations: 145.8 kB / 0.7739 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.5091, allocations: 23.7 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.5094, allocations: 146.6 kB / 0.774 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5094, allocations: 0 / 0.774 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5094, allocations: 0 / 0.774 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5095, allocations: 3.984 kB / 0.774 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.5098, allocations: 237.5 kB / 0.7743 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5098, allocations: 8.031 kB / 0.7743 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.5098, allocations: 11.98 kB / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5098, allocations: 0 / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5099, allocations: 0 / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5099, allocations: 3.938 kB / 0.7743 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5099, allocations: 4 kB / 0.7743 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.5102, allocations: 231.1 kB / 0.7745 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.5103, allocations: 104.8 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.5103, allocations: 0 / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.5104, allocations: 11.94 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.5104, allocations: 7.984 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.5105, allocations: 0 / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002482/0.5107, allocations: 249.9 kB / 0.7749 GB, free: 11.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5107, allocations: 0 / 0.7749 GB, free: 11.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004041/0.5111, allocations: 75.92 kB / 0.7749 GB, free: 11.5 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.0003439/0.5115, allocations: 155.2 kB / 0.7751 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.5118, allocations: 151.9 kB / 0.7752 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5118, allocations: 0 / 0.7752 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.512, allocations: 51.95 kB / 0.7753 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.5123, allocations: 13.59 kB / 0.7753 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.513, allocations: 405.7 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.5135, allocations: 0.7397 MB / 0.7764 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.5135, allocations: 15.44 kB / 0.7764 GB, free: 9.918 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.5135, allocations: 4 kB / 0.7764 GB, free: 9.914 MB / 0.545 GB Notification: Performance of Templates: time 0.005647/0.5192, allocations: 2.466 MB / 0.7788 GB, free: 7.469 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)