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.001872/0.001872, allocations: 109.2 kB / 16.37 MB, free: 6 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.001768/0.001768, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.679/1.679, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003351/0.00335, allocations: 292.8 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.138/1.138, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 109.8 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2909, allocations: 86.96 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.003278/0.2942, allocations: 1.439 MB / 0.683 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2957, allocations: 0.8197 MB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.2958, allocations: 0 / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.2961, allocations: 131.7 kB / 0.6839 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2962, allocations: 75.81 kB / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.2969, allocations: 198.5 kB / 0.6842 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.297, allocations: 63.81 kB / 0.6843 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.2971, allocations: 7.922 kB / 0.6843 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.2971, allocations: 31.97 kB / 0.6843 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2973, allocations: 83.84 kB / 0.6844 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2973, allocations: 0 / 0.6844 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.2977, allocations: 255.6 kB / 0.6846 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2979, allocations: 63.83 kB / 0.6847 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.2979, allocations: 59.42 kB / 0.6847 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.2983, allocations: 283.2 kB / 0.685 GB, free: 3.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2983, allocations: 0 / 0.685 GB, free: 3.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2984, allocations: 4 kB / 0.685 GB, free: 3.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2984, allocations: 0 / 0.685 GB, free: 3.977 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.000756/0.2991, allocations: 0.506 MB / 0.6855 GB, free: 3.422 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2992, allocations: 8.031 kB / 0.6855 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.2992, allocations: 24.66 kB / 0.6855 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.2995, allocations: 255.8 kB / 0.6858 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2996, allocations: 384 / 0.6858 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.2996, allocations: 12.06 kB / 0.6858 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2998, allocations: 81.59 kB / 0.6859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2998, allocations: 0 / 0.6859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2998, allocations: 0 / 0.6859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2998, allocations: 3.984 kB / 0.6859 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3, allocations: 83.94 kB / 0.686 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.3006, allocations: 400.6 kB / 0.6863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3008, allocations: 94.47 kB / 0.6864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.3009, allocations: 44.89 kB / 0.6865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.958e-05/0.301, allocations: 15.98 kB / 0.6865 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.301, allocations: 38.56 kB / 0.6865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.301, allocations: 0 / 0.6865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004354/0.3015, allocations: 177.3 kB / 0.6867 GB, free: 2.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3015, allocations: 51.41 kB / 0.6867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.3019, allocations: 347.3 kB / 0.6871 GB, free: 1.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3019, allocations: 33.64 kB / 0.6871 GB, free: 1.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.302, allocations: 151.9 kB / 0.6872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.3021, allocations: 3.906 kB / 0.6873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3021, allocations: 29.83 kB / 0.6873 GB, free: 1.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3022, allocations: 342.8 kB / 0.6876 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.3024, allocations: 91.95 kB / 0.6877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3025, allocations: 95.94 kB / 0.6878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.3029, allocations: 207.4 kB / 0.688 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3029, allocations: 0 / 0.688 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003625/0.3032, allocations: 257.2 kB / 0.6882 GB, free: 476 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3033, allocations: 6.812 kB / 0.6882 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3033, allocations: 0 / 0.6882 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3033, allocations: 4 kB / 0.6882 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.3034, allocations: 11.92 kB / 0.6883 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3034, allocations: 0 / 0.6883 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.3035, allocations: 15.84 kB / 0.6883 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3035, allocations: 3.984 kB / 0.6883 GB, free: 436 kB / 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.0001333/0.3037, allocations: 149.8 kB / 0.6884 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3037, allocations: 19.72 kB / 0.6884 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.304, allocations: 138.6 kB / 0.6886 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.304, allocations: 0 / 0.6886 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.304, allocations: 4 kB / 0.6886 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.304, allocations: 0 / 0.6886 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6352/0.9393, allocations: 240.8 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.9394, allocations: 0.75 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.9395, allocations: 11.53 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/0.9395, allocations: 1.219 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.9396, allocations: 3.75 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.9396, allocations: 2.203 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.9396, allocations: 0 / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.9402, allocations: 230.4 kB / 0.689 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.9403, allocations: 102 kB / 0.6891 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.9404, allocations: 1.609 kB / 0.6891 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.9405, allocations: 10.12 kB / 0.6891 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.9406, allocations: 6.281 kB / 0.6892 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.9406, allocations: 4.406 kB / 0.6892 GB, free: 17.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004488/0.941, allocations: 258.1 kB / 0.6894 GB, free: 17.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.941, allocations: 0 / 0.6894 GB, free: 17.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006358/0.9417, allocations: 68.59 kB / 0.6895 GB, free: 17.88 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.0004705/0.9422, allocations: 161.3 kB / 0.6896 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.9427, allocations: 158.5 kB / 0.6898 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9427, allocations: 0 / 0.6898 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.9429, allocations: 45 kB / 0.6898 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.9433, allocations: 14.22 kB / 0.6898 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009953/0.9443, allocations: 374.5 kB / 0.6902 GB, free: 17.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.9447, allocations: 0.737 MB / 0.6909 GB, free: 16.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.171e-05/0.9448, allocations: 16.59 kB / 0.6909 GB, free: 16.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.9449, allocations: 12.88 kB / 0.6909 GB, free: 16.92 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.9449, allocations: 0.5625 kB / 0.6909 GB, free: 16.92 MB / 494.1 MB Notification: Performance of Templates: time 0.009658/0.9545, allocations: 2.218 MB / 0.6931 GB, free: 16.84 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)