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.00811/0.00811, allocations: 103.7 kB / 15.73 MB, free: 6.039 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.001605/0.001605, allocations: 194 kB / 16.67 MB, free: 5.969 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002395/0.002395, allocations: 270.2 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.989/0.989, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 92.08 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2492, allocations: 86.99 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.00313/0.2524, allocations: 1.429 MB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2539, allocations: 0.8272 MB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.254, allocations: 4 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.2542, allocations: 127.7 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2544, allocations: 71.83 kB / 0.7688 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.2552, allocations: 195.5 kB / 0.769 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.2553, allocations: 67.81 kB / 0.769 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.2554, allocations: 0 / 0.769 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.2555, allocations: 39.89 kB / 0.7691 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2556, allocations: 83.84 kB / 0.7692 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.2556, allocations: 4 kB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.2561, allocations: 255.7 kB / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.583e-05/0.2562, allocations: 59.83 kB / 0.7695 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.2562, allocations: 59.42 kB / 0.7695 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.2567, allocations: 291.2 kB / 0.7698 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2567, allocations: 0 / 0.7698 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2568, allocations: 0 / 0.7698 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2568, allocations: 0 / 0.7698 GB, free: 4.93 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.0007665/0.2575, allocations: 0.5099 MB / 0.7703 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2576, allocations: 8.031 kB / 0.7703 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.2577, allocations: 24.59 kB / 0.7703 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.2579, allocations: 255.7 kB / 0.7706 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.258, allocations: 8.359 kB / 0.7706 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.258, allocations: 3.938 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2582, allocations: 73.66 kB / 0.7707 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2582, allocations: 0 / 0.7707 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2582, allocations: 4 kB / 0.7707 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2582, allocations: 4 kB / 0.7707 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.2585, allocations: 87.86 kB / 0.7707 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.259, allocations: 396.6 kB / 0.7711 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.2592, allocations: 98.52 kB / 0.7712 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.2593, allocations: 48.89 kB / 0.7713 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.484e-05/0.2594, allocations: 19.73 kB / 0.7713 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.2594, allocations: 30.56 kB / 0.7713 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2594, allocations: 0 / 0.7713 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004147/0.2599, allocations: 181.3 kB / 0.7715 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2599, allocations: 55.53 kB / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.2603, allocations: 355.1 kB / 0.7719 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2603, allocations: 25.7 kB / 0.7719 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.2604, allocations: 144 kB / 0.772 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.2604, allocations: 4 kB / 0.772 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.2605, allocations: 25.7 kB / 0.7721 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2606, allocations: 342.8 kB / 0.7724 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2608, allocations: 95.95 kB / 0.7725 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.2609, allocations: 95.94 kB / 0.7726 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.2612, allocations: 211.2 kB / 0.7728 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2612, allocations: 0 / 0.7728 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003575/0.2616, allocations: 253.2 kB / 0.773 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2616, allocations: 4 kB / 0.773 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2616, allocations: 4 kB / 0.773 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2616, allocations: 0 / 0.773 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.2617, allocations: 11.98 kB / 0.773 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2617, allocations: 0 / 0.773 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.2618, allocations: 11.84 kB / 0.773 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2618, allocations: 7.938 kB / 0.7731 GB, free: 1.367 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 0.0001107/0.2619, allocations: 150.4 kB / 0.7732 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.262, allocations: 23.66 kB / 0.7732 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.2623, allocations: 146.5 kB / 0.7734 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2623, allocations: 0 / 0.7734 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2623, allocations: 0 / 0.7734 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2623, allocations: 0 / 0.7734 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.2625, allocations: 245.5 kB / 0.7736 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2625, allocations: 4 kB / 0.7736 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.2626, allocations: 7.984 kB / 0.7736 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2626, allocations: 4 kB / 0.7736 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2626, allocations: 4.031 kB / 0.7736 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2626, allocations: 0 / 0.7736 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2626, allocations: 0 / 0.7736 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.263, allocations: 239.1 kB / 0.7738 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.2631, allocations: 100.8 kB / 0.7739 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2631, allocations: 0 / 0.7739 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.2632, allocations: 12.02 kB / 0.774 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.2632, allocations: 0 / 0.774 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2632, allocations: 0 / 0.774 GB, free: 360 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000233/0.2635, allocations: 253.9 kB / 0.7742 GB, free: 104 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2635, allocations: 0 / 0.7742 GB, free: 104 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003652/0.2638, allocations: 71.94 kB / 0.7743 GB, free: 32 kB / 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.4304/0.6942, allocations: 150.9 kB / 0.7744 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.6948, allocations: 159.3 kB / 0.7746 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6949, allocations: 0 / 0.7746 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.695, allocations: 48.88 kB / 0.7746 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.6957, allocations: 12.52 kB / 0.7746 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.6964, allocations: 368.8 kB / 0.775 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.6967, allocations: 0.7373 MB / 0.7757 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.422e-05/0.6968, allocations: 16.58 kB / 0.7757 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.6968, allocations: 13.44 kB / 0.7757 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.6968, allocations: 0 / 0.7757 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.006422/0.7032, allocations: 2.23 MB / 0.7779 GB, free: 14.3 MB / 0.5606 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)