Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5637/0.5637, allocations: 95.61 MB / 110.6 MB, free: 9.359 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001206/0.001206, allocations: 166.2 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.485/1.485, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00164/0.001641, allocations: 123.3 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 61.52 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5693, allocations: 95 MB / 0.6047 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5696, allocations: 82.69 kB / 0.6048 GB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.5802, allocations: 3.549 MB / 0.6083 GB, free: 9.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5802, allocations: 4 kB / 0.6083 GB, free: 9.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.5802, allocations: 0 / 0.6083 GB, free: 9.246 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004154/0.5807, allocations: 367.2 kB / 0.6086 GB, free: 8.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5807, allocations: 11.98 kB / 0.6087 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.5808, allocations: 7.906 kB / 0.6087 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.5809, allocations: 170.2 kB / 0.6088 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.581, allocations: 3.953 kB / 0.6088 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.581, allocations: 7.938 kB / 0.6088 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.5813, allocations: 68.73 kB / 0.6089 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5813, allocations: 0 / 0.6089 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.5814, allocations: 3.984 kB / 0.6089 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5814, allocations: 4 kB / 0.6089 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.5816, allocations: 35.52 kB / 0.6089 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.582, allocations: 265.2 kB / 0.6092 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.5823, allocations: 72.53 kB / 0.6093 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.5827, allocations: 197.9 kB / 0.6095 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5827, allocations: 30.56 kB / 0.6095 GB, free: 7.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.5827, allocations: 0 / 0.6095 GB, free: 7.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006369/0.5834, allocations: 206.3 kB / 0.6097 GB, free: 7.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5834, allocations: 51.41 kB / 0.6097 GB, free: 7.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.5835, allocations: 100.8 kB / 0.6098 GB, free: 7.484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5835, allocations: 25.7 kB / 0.6099 GB, free: 7.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.5836, allocations: 91.97 kB / 0.6099 GB, free: 7.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.5836, allocations: 15.31 kB / 0.61 GB, free: 7.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.5836, allocations: 7.938 kB / 0.61 GB, free: 7.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5837, allocations: 318 kB / 0.6103 GB, free: 7.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.5838, allocations: 11.98 kB / 0.6103 GB, free: 7.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.5838, allocations: 21.58 kB / 0.6103 GB, free: 6.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.5839, allocations: 11.56 kB / 0.6103 GB, free: 6.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5839, allocations: 0 / 0.6103 GB, free: 6.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001409/0.584, allocations: 84.28 kB / 0.6104 GB, free: 6.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.584, allocations: 4 kB / 0.6104 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.584, allocations: 4 kB / 0.6104 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009343/0.585, allocations: 146.3 kB / 0.6105 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.275e-05/0.585, allocations: 11.94 kB / 0.6105 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000439/0.5855, allocations: 0.5449 MB / 0.6111 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.5855, allocations: 4.031 kB / 0.6111 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.5855, allocations: 0 / 0.6111 GB, free: 6.172 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.5857, allocations: 125.4 kB / 0.6112 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.5857, allocations: 0 / 0.6112 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.5859, allocations: 87.16 kB / 0.6113 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5859, allocations: 0 / 0.6113 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5859, allocations: 7.953 kB / 0.6113 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5859, allocations: 4 kB / 0.6113 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.5861, allocations: 152.7 kB / 0.6114 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5861, allocations: 4 kB / 0.6114 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.5861, allocations: 3.984 kB / 0.6114 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008419/0.587, allocations: 144.5 kB / 0.6116 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.587, allocations: 0 / 0.6116 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000335/0.5873, allocations: 0.5539 MB / 0.6121 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5874, allocations: 0 / 0.6121 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.5875, allocations: 165 kB / 0.6123 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.5876, allocations: 81.06 kB / 0.6124 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.5876, allocations: 4 kB / 0.6124 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.5877, allocations: 7.484 kB / 0.6124 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.5877, allocations: 3.938 kB / 0.6124 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.5877, allocations: 4 kB / 0.6124 GB, free: 4.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.5877, allocations: 86.16 kB / 0.6125 GB, free: 4.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5878, allocations: 0 / 0.6125 GB, free: 4.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.588, allocations: 51.92 kB / 0.6125 GB, free: 4.621 MB / 410.7 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.5883, allocations: 151 kB / 0.6127 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.5885, allocations: 39.91 kB / 0.6127 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5885, allocations: 0 / 0.6127 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.741e-05/0.5886, allocations: 26.42 kB / 0.6127 GB, free: 4.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.5888, allocations: 2.688 kB / 0.6127 GB, free: 4.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.5891, allocations: 140.6 kB / 0.6129 GB, free: 4.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.5893, allocations: 0.6809 MB / 0.6135 GB, free: 3.539 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.792e-05/0.5894, allocations: 256 / 0.6135 GB, free: 3.539 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.5894, allocations: 15.38 kB / 0.6135 GB, free: 3.523 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5894, allocations: 4 kB / 0.6135 GB, free: 3.52 MB / 410.7 MB Notification: Performance of Templates: time 0.003422/0.5928, allocations: 1.177 MB / 0.6147 GB, free: 2.363 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe 2>&1)