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.749/1.749, allocations: 288.4 MB / 304.3 MB, free: 8.008 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.001116/0.001116, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.818/1.818, allocations: 205.4 MB / 0.6317 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 102.3 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006558/0.000656, allocations: 12.53 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2883, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.119/5.407, allocations: 2.116 GB / 3.097 GB, free: 191.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/5.407, allocations: 99.95 kB / 3.097 GB, free: 191.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.527/7.934, allocations: 0.8036 GB / 3.901 GB, free: 99.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/7.934, allocations: 0 / 3.901 GB, free: 99.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001559/7.934, allocations: 39.98 kB / 3.901 GB, free: 99.14 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.005905/7.94, allocations: 2.358 MB / 3.903 GB, free: 96.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/7.94, allocations: 12.03 kB / 3.903 GB, free: 96.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/7.943, allocations: 426.4 kB / 3.903 GB, free: 96.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/7.947, allocations: 1.874 MB / 3.905 GB, free: 94.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/7.947, allocations: 78.38 kB / 3.905 GB, free: 94.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/7.947, allocations: 104.4 kB / 3.905 GB, free: 94.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/7.949, allocations: 1.202 MB / 3.907 GB, free: 92.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/7.949, allocations: 3.938 kB / 3.907 GB, free: 92.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/7.949, allocations: 40 kB / 3.907 GB, free: 92.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/7.949, allocations: 38 kB / 3.907 GB, free: 92.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/7.951, allocations: 0.9134 MB / 3.908 GB, free: 91.96 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006325/7.957, allocations: 4.934 MB / 3.912 GB, free: 86.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/7.959, allocations: 0.9435 MB / 3.913 GB, free: 85.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006978/7.96, allocations: 408.4 kB / 3.914 GB, free: 85.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/7.96, allocations: 105.7 kB / 3.914 GB, free: 85.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007731/7.961, allocations: 484.4 kB / 3.914 GB, free: 84.72 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006466/7.962, allocations: 87.25 kB / 3.914 GB, free: 84.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.877e-06/7.962, allocations: 0 / 3.914 GB, free: 84.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002977/7.965, allocations: 1.298 MB / 3.916 GB, free: 83.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/7.965, allocations: 196.5 kB / 3.916 GB, free: 83.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/7.966, allocations: 1.173 MB / 3.917 GB, free: 81.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/7.966, allocations: 45.7 kB / 3.917 GB, free: 81.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/7.967, allocations: 0.6615 MB / 3.918 GB, free: 81.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/7.967, allocations: 244.5 kB / 3.918 GB, free: 80.92 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/7.967, allocations: 16 kB / 3.918 GB, free: 80.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/7.967, allocations: 338 kB / 3.918 GB, free: 80.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/7.968, allocations: 345.8 kB / 3.918 GB, free: 80.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/7.968, allocations: 0.6344 MB / 3.919 GB, free: 79.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/7.97, allocations: 0.9179 MB / 3.92 GB, free: 78.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/7.97, allocations: 4 kB / 3.92 GB, free: 78.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001905/7.971, allocations: 1.143 MB / 3.921 GB, free: 77.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/7.972, allocations: 279.3 kB / 3.921 GB, free: 76.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/7.972, allocations: 4 kB / 3.921 GB, free: 76.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000409/7.972, allocations: 96.66 kB / 3.921 GB, free: 76.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/7.973, allocations: 203.8 kB / 3.922 GB, free: 76.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005563/7.973, allocations: 1.209 MB / 3.923 GB, free: 75.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/7.975, allocations: 99.86 kB / 3.923 GB, free: 75.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/7.975, allocations: 59.95 kB / 3.923 GB, free: 75.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/7.975, allocations: 4 kB / 3.923 GB, free: 75.24 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001789/7.977, allocations: 1.041 MB / 3.924 GB, free: 74.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/7.977, allocations: 8 kB / 3.924 GB, free: 74.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/7.977, allocations: 104.8 kB / 3.924 GB, free: 74.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/7.978, allocations: 187.9 kB / 3.924 GB, free: 73.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/7.981, allocations: 2.673 MB / 3.927 GB, free: 71.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/7.983, allocations: 99.95 kB / 3.927 GB, free: 70.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/7.983, allocations: 44 kB / 3.927 GB, free: 70.88 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 () * Number of clocked 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.0008962/7.984, allocations: 468.8 kB / 3.928 GB, free: 70.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/7.984, allocations: 142.3 kB / 3.928 GB, free: 70.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/7.986, allocations: 0.9743 MB / 3.929 GB, free: 69.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/7.986, allocations: 11.98 kB / 3.929 GB, free: 69.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/7.986, allocations: 0 / 3.929 GB, free: 69.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/7.987, allocations: 0.8676 MB / 3.929 GB, free: 68.38 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00391/7.991, allocations: 2.298 MB / 3.932 GB, free: 65.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/7.991, allocations: 4 kB / 3.932 GB, free: 65.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000769/7.992, allocations: 167.9 kB / 3.932 GB, free: 65.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/7.992, allocations: 84.7 kB / 3.932 GB, free: 65.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/7.992, allocations: 23.98 kB / 3.932 GB, free: 65.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/7.993, allocations: 1.193 MB / 3.933 GB, free: 64.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/7.993, allocations: 4.031 kB / 3.933 GB, free: 64.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/7.995, allocations: 1.462 MB / 3.935 GB, free: 62.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/7.996, allocations: 283.3 kB / 3.935 GB, free: 62.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/7.996, allocations: 16 kB / 3.935 GB, free: 62.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/7.997, allocations: 103.8 kB / 3.935 GB, free: 62.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/7.997, allocations: 48.48 kB / 3.935 GB, free: 62.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/7.997, allocations: 31.98 kB / 3.935 GB, free: 62.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001024/7.998, allocations: 0.7961 MB / 3.936 GB, free: 61.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.998, allocations: 0 / 3.936 GB, free: 61.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003239/8.001, allocations: 1.111 MB / 3.937 GB, free: 60.56 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) * Number of clocked states: 0 () * 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.003694/8.005, allocations: 2.793 MB / 3.94 GB, free: 57.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003189/8.008, allocations: 1.691 MB / 3.941 GB, free: 55.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/8.008, allocations: 0 / 3.941 GB, free: 55.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008318/8.009, allocations: 424.1 kB / 3.942 GB, free: 55.44 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/8.012, allocations: 0.6466 MB / 3.942 GB, free: 54.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/8.016, allocations: 3.151 MB / 3.945 GB, free: 51.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/8.017, allocations: 1.292 MB / 3.947 GB, free: 50.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001482/8.018, allocations: 335.3 kB / 3.947 GB, free: 49.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/8.018, allocations: 99.42 kB / 3.947 GB, free: 49.84 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/8.018, allocations: 0 / 3.947 GB, free: 49.84 MB / 0.948 GB Notification: Performance of Templates: time 0.07196/8.09, allocations: 54.77 MB / 4.001 GB, free: 11.32 MB / 0.9636 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)