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.5349/0.5349, allocations: 94.69 MB / 107.3 MB, free: 5.191 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.001417/0.001417, allocations: 164.8 kB / 130.7 MB, free: 7.551 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.567/1.567, allocations: 170.5 MB / 324.5 MB, free: 4.07 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.001656/0.001656, allocations: 112.2 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.349e-05, allocations: 7.938 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.437, allocations: 61.51 MB / 0.5054 GB, free: 49.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.5623, allocations: 94.91 MB / 0.5981 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5626, allocations: 76.7 kB / 0.5981 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.5731, allocations: 3.547 MB / 0.6016 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.5731, allocations: 0 / 0.6016 GB, free: 13.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.5732, allocations: 4 kB / 0.6016 GB, free: 13.13 MB / 426.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.0003447/0.5735, allocations: 359 kB / 0.602 GB, free: 12.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5736, allocations: 8.031 kB / 0.602 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.5736, allocations: 10.97 kB / 0.602 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.5738, allocations: 171.5 kB / 0.6021 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5738, allocations: 7.734 kB / 0.6021 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.5738, allocations: 9.406 kB / 0.6022 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.5741, allocations: 58.84 kB / 0.6022 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5742, allocations: 3.938 kB / 0.6022 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5742, allocations: 4 kB / 0.6022 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.5742, allocations: 0 / 0.6022 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.5744, allocations: 31.97 kB / 0.6022 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.5748, allocations: 266 kB / 0.6025 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.5752, allocations: 63.89 kB / 0.6026 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.5752, allocations: 18.22 kB / 0.6026 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.5755, allocations: 201.2 kB / 0.6028 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5756, allocations: 33.38 kB / 0.6028 GB, free: 11.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.5756, allocations: 0 / 0.6028 GB, free: 11.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004681/0.576, allocations: 106.3 kB / 0.6029 GB, free: 11.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5761, allocations: 51.41 kB / 0.603 GB, free: 11.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.5762, allocations: 102 kB / 0.603 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5762, allocations: 29.33 kB / 0.6031 GB, free: 11.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.5762, allocations: 91.98 kB / 0.6032 GB, free: 11.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.5763, allocations: 11.81 kB / 0.6032 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.5763, allocations: 0 / 0.6032 GB, free: 11.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.5764, allocations: 323.6 kB / 0.6035 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.5764, allocations: 8 kB / 0.6035 GB, free: 10.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.5764, allocations: 30.55 kB / 0.6035 GB, free: 10.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.5765, allocations: 4 kB / 0.6035 GB, free: 10.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.5765, allocations: 0 / 0.6035 GB, free: 10.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001283/0.5766, allocations: 92.61 kB / 0.6036 GB, free: 10.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.5766, allocations: 4 kB / 0.6036 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5766, allocations: 4.062 kB / 0.6036 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009013/0.5775, allocations: 140.7 kB / 0.6038 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.5776, allocations: 6.688 kB / 0.6038 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003895/0.578, allocations: 0.5445 MB / 0.6043 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.578, allocations: 7.844 kB / 0.6043 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.578, allocations: 4.031 kB / 0.6043 GB, free: 10.11 MB / 426.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 () * 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 7.54e-05/0.5781, allocations: 109.8 kB / 0.6044 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.5782, allocations: 4 kB / 0.6044 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.5784, allocations: 86.56 kB / 0.6045 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5784, allocations: 3.953 kB / 0.6045 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5784, allocations: 1.875 kB / 0.6045 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5784, allocations: 3.938 kB / 0.6045 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.5786, allocations: 161.7 kB / 0.6047 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5786, allocations: 3.938 kB / 0.6047 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.5786, allocations: 8 kB / 0.6047 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008059/0.5794, allocations: 141.4 kB / 0.6048 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5794, allocations: 0 / 0.6048 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003513/0.5798, allocations: 0.5484 MB / 0.6053 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5798, allocations: 0 / 0.6053 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.58, allocations: 164.4 kB / 0.6055 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.58, allocations: 88.97 kB / 0.6056 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.58, allocations: 0 / 0.6056 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.5801, allocations: 8.062 kB / 0.6056 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.5802, allocations: 7.984 kB / 0.6056 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.5802, allocations: 0 / 0.6056 GB, free: 8.664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.69e-05/0.5802, allocations: 79.28 kB / 0.6057 GB, free: 8.586 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5802, allocations: 0 / 0.6057 GB, free: 8.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.5805, allocations: 55.92 kB / 0.6057 GB, free: 8.531 MB / 426.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 () * 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.0002311/0.5807, allocations: 143.1 kB / 0.6059 GB, free: 8.383 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.5809, allocations: 44.05 kB / 0.6059 GB, free: 8.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5809, allocations: 5.781 kB / 0.6059 GB, free: 8.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.581, allocations: 16.55 kB / 0.6059 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.5812, allocations: 12.47 kB / 0.6059 GB, free: 8.312 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000188/0.5814, allocations: 66.58 kB / 0.606 GB, free: 8.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.5816, allocations: 0.6848 MB / 0.6067 GB, free: 7.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.5817, allocations: 15.44 kB / 0.6067 GB, free: 7.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.5817, allocations: 7.438 kB / 0.6067 GB, free: 7.504 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5817, allocations: 0 / 0.6067 GB, free: 7.504 MB / 426.7 MB Notification: Performance of Templates: time 0.003287/0.585, allocations: 1.17 MB / 0.6078 GB, free: 6.375 MB / 426.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)