Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 285.4 MB / 298 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 176.9 kB / 366.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000882/0.0008822, allocations: 95.34 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.366e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6695, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.988/5.658, allocations: 2.116 GB / 3.087 GB, free: 281.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/5.658, allocations: 89.95 kB / 3.087 GB, free: 281.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.061/8.719, allocations: 0.8044 GB / 3.891 GB, free: 160.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/8.719, allocations: 3.281 kB / 3.891 GB, free: 160.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003387/8.72, allocations: 43.06 kB / 3.891 GB, free: 160.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.006974/8.727, allocations: 1.873 MB / 3.893 GB, free: 159.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/8.727, allocations: 11.72 kB / 3.893 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/8.731, allocations: 431.6 kB / 3.894 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006816/8.737, allocations: 1.845 MB / 3.895 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/8.738, allocations: 81.45 kB / 3.895 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/8.738, allocations: 109.2 kB / 3.896 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/8.741, allocations: 1.136 MB / 3.897 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/8.741, allocations: 0 / 3.897 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/8.742, allocations: 45.91 kB / 3.897 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/8.742, allocations: 39.06 kB / 3.897 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/8.743, allocations: 0.815 MB / 3.898 GB, free: 158.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00908/8.753, allocations: 4.94 MB / 3.902 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/8.754, allocations: 0.8391 MB / 3.903 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/8.755, allocations: 362.5 kB / 3.904 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/8.755, allocations: 112.8 kB / 3.904 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007225/8.756, allocations: 439.1 kB / 3.904 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008789/8.757, allocations: 80.83 kB / 3.904 GB, free: 156.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 6.602e-06/8.757, allocations: 0 / 3.904 GB, free: 156.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.001913/8.759, allocations: 0.79 MB / 3.905 GB, free: 156 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/8.759, allocations: 191.2 kB / 3.905 GB, free: 155.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/8.761, allocations: 1.015 MB / 3.906 GB, free: 155.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/8.761, allocations: 44.3 kB / 3.906 GB, free: 155.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/8.761, allocations: 0.6662 MB / 3.907 GB, free: 155.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/8.762, allocations: 246.5 kB / 3.907 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/8.762, allocations: 13.81 kB / 3.907 GB, free: 155.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001054/8.762, allocations: 344.8 kB / 3.907 GB, free: 155 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/8.762, allocations: 295 kB / 3.908 GB, free: 155 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/8.763, allocations: 0.5819 MB / 3.908 GB, free: 154.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/8.764, allocations: 402.8 kB / 3.909 GB, free: 154.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/8.764, allocations: 0 / 3.909 GB, free: 154.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001846/8.766, allocations: 1.049 MB / 3.91 GB, free: 154.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005649/8.766, allocations: 2.081 MB / 3.912 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/8.766, allocations: 10.78 kB / 3.912 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/8.767, allocations: 73.39 kB / 3.912 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/8.767, allocations: 204.5 kB / 3.912 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006699/8.768, allocations: 1.199 MB / 3.913 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/8.769, allocations: 103.3 kB / 3.913 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/8.77, allocations: 54.17 kB / 3.913 GB, free: 151.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/8.77, allocations: 6.375 kB / 3.913 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001795/8.771, allocations: 0.9486 MB / 3.914 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/8.771, allocations: 7.625 kB / 3.914 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/8.772, allocations: 106.2 kB / 3.914 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/8.773, allocations: 185.9 kB / 3.914 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/8.777, allocations: 2.684 MB / 3.917 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/8.778, allocations: 100.2 kB / 3.917 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/8.778, allocations: 43.67 kB / 3.917 GB, free: 149.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.00033/8.779, allocations: 164.2 kB / 3.917 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/8.779, allocations: 140.1 kB / 3.917 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/8.781, allocations: 0.8855 MB / 3.918 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/8.781, allocations: 10.53 kB / 3.918 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/8.781, allocations: 3.953 kB / 3.918 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/8.782, allocations: 0.7932 MB / 3.919 GB, free: 148.9 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004677/8.787, allocations: 2.221 MB / 3.921 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/8.787, allocations: 7.438 kB / 3.921 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008206/8.788, allocations: 157.2 kB / 3.921 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/8.788, allocations: 85.36 kB / 3.922 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/8.788, allocations: 20.39 kB / 3.922 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006718/8.789, allocations: 1.192 MB / 3.923 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/8.789, allocations: 7.469 kB / 3.923 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/8.791, allocations: 1.383 MB / 3.924 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/8.792, allocations: 285.8 kB / 3.924 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/8.792, allocations: 14.88 kB / 3.924 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/8.793, allocations: 104.2 kB / 3.924 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/8.794, allocations: 56.91 kB / 3.925 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/8.794, allocations: 29.84 kB / 3.925 GB, free: 146.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001355/8.795, allocations: 0.7897 MB / 3.925 GB, free: 146.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/8.795, allocations: 0 / 3.925 GB, free: 146.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004395/8.799, allocations: 1.1 MB / 3.926 GB, free: 146.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005239/8.805, allocations: 2.773 MB / 3.929 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003191/8.808, allocations: 1.594 MB / 3.931 GB, free: 145.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/8.808, allocations: 7.688 kB / 3.931 GB, free: 145.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008373/8.809, allocations: 368.8 kB / 3.931 GB, free: 145.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/8.813, allocations: 0.6387 MB / 3.932 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/8.818, allocations: 2.009 MB / 3.934 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/8.82, allocations: 1.318 MB / 3.935 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002717/8.823, allocations: 492.7 kB / 3.935 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/8.823, allocations: 96 kB / 3.935 GB, free: 143.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.567e-06/8.823, allocations: 0 / 3.935 GB, free: 143.9 MB / 0.948 GB Notification: Performance of Templates: time 0.09887/8.922, allocations: 62.26 MB / 3.996 GB, free: 130 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)