Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.523/2.523, allocations: 287.5 MB / 303.2 MB, free: 8.148 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.001381/0.001381, allocations: 176.4 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.6305 GB, free: 10.61 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.0009875/0.0009871, allocations: 98 kB / 0.7438 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005221, allocations: 11.75 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.552/6.774, allocations: 2.116 GB / 3.095 GB, free: 179.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/6.774, allocations: 99.95 kB / 3.095 GB, free: 179 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.075/10.85, allocations: 0.8035 GB / 3.899 GB, free: 88.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.344e-06/10.85, allocations: 0 / 3.899 GB, free: 88.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002248/10.85, allocations: 43.98 kB / 3.899 GB, free: 88.56 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.00871/10.86, allocations: 2.357 MB / 3.901 GB, free: 86.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/10.86, allocations: 8.031 kB / 3.901 GB, free: 86.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/10.86, allocations: 426.4 kB / 3.902 GB, free: 85.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005922/10.87, allocations: 1.878 MB / 3.903 GB, free: 83.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.439e-05/10.87, allocations: 78.38 kB / 3.904 GB, free: 83.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/10.87, allocations: 112.4 kB / 3.904 GB, free: 83.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/10.87, allocations: 1.188 MB / 3.905 GB, free: 82.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/10.87, allocations: 7.938 kB / 3.905 GB, free: 82.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/10.87, allocations: 44 kB / 3.905 GB, free: 82.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/10.87, allocations: 34 kB / 3.905 GB, free: 82.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/10.87, allocations: 0.9095 MB / 3.906 GB, free: 81.4 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.00907/10.88, allocations: 4.942 MB / 3.911 GB, free: 76.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/10.89, allocations: 0.9405 MB / 3.912 GB, free: 75.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/10.89, allocations: 407.7 kB / 3.912 GB, free: 74.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/10.89, allocations: 102.2 kB / 3.912 GB, free: 74.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/10.89, allocations: 488 kB / 3.912 GB, free: 74.15 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009131/10.89, allocations: 83.31 kB / 3.913 GB, free: 74.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.396e-06/10.89, allocations: 0 / 3.913 GB, free: 74.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.004918/10.9, allocations: 1.31 MB / 3.914 GB, free: 72.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/10.9, allocations: 188.6 kB / 3.914 GB, free: 72.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/10.9, allocations: 1.173 MB / 3.915 GB, free: 71.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/10.9, allocations: 45.7 kB / 3.915 GB, free: 71.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006676/10.9, allocations: 0.6654 MB / 3.916 GB, free: 70.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/10.9, allocations: 244.5 kB / 3.916 GB, free: 70.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/10.9, allocations: 16 kB / 3.916 GB, free: 70.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/10.9, allocations: 342 kB / 3.916 GB, free: 70 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/10.9, allocations: 345.8 kB / 3.917 GB, free: 69.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/10.9, allocations: 0.6231 MB / 3.917 GB, free: 68.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/10.9, allocations: 0.9179 MB / 3.918 GB, free: 67.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/10.9, allocations: 3.281 kB / 3.918 GB, free: 67.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003312/10.91, allocations: 1.154 MB / 3.919 GB, free: 66.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/10.91, allocations: 275.3 kB / 3.92 GB, free: 66.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/10.91, allocations: 8 kB / 3.92 GB, free: 66.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/10.91, allocations: 88.78 kB / 3.92 GB, free: 66.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/10.91, allocations: 211.6 kB / 3.92 GB, free: 66.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007854/10.91, allocations: 1.205 MB / 3.921 GB, free: 64.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/10.91, allocations: 99.92 kB / 3.921 GB, free: 64.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/10.91, allocations: 59.95 kB / 3.921 GB, free: 64.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/10.91, allocations: 4 kB / 3.921 GB, free: 64.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003116/10.92, allocations: 1.037 MB / 3.922 GB, free: 63.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/10.92, allocations: 4 kB / 3.922 GB, free: 63.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/10.92, allocations: 113 kB / 3.922 GB, free: 63.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/10.92, allocations: 183.7 kB / 3.923 GB, free: 63.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/10.92, allocations: 2.669 MB / 3.925 GB, free: 60.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/10.93, allocations: 99.89 kB / 3.925 GB, free: 60.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/10.93, allocations: 44 kB / 3.925 GB, free: 60.32 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.001164/10.93, allocations: 471.4 kB / 3.926 GB, free: 59.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/10.93, allocations: 134.3 kB / 3.926 GB, free: 59.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/10.93, allocations: 0.9787 MB / 3.927 GB, free: 58.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/10.93, allocations: 8 kB / 3.927 GB, free: 58.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/10.93, allocations: 0 / 3.927 GB, free: 58.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002494/10.93, allocations: 0.8754 MB / 3.928 GB, free: 57.8 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.005985/10.94, allocations: 2.301 MB / 3.93 GB, free: 55.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/10.94, allocations: 3.984 kB / 3.93 GB, free: 55.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/10.94, allocations: 171.7 kB / 3.93 GB, free: 55.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/10.94, allocations: 80.72 kB / 3.93 GB, free: 55.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/10.94, allocations: 23.98 kB / 3.93 GB, free: 55.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006259/10.94, allocations: 1.193 MB / 3.931 GB, free: 53.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/10.94, allocations: 0 / 3.931 GB, free: 53.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/10.95, allocations: 1.466 MB / 3.933 GB, free: 52.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/10.95, allocations: 279.3 kB / 3.933 GB, free: 52.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/10.95, allocations: 15.98 kB / 3.933 GB, free: 52.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/10.95, allocations: 107.8 kB / 3.933 GB, free: 51.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/10.95, allocations: 48.48 kB / 3.933 GB, free: 51.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.049e-05/10.95, allocations: 31.98 kB / 3.933 GB, free: 51.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001542/10.95, allocations: 0.8 MB / 3.934 GB, free: 51.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/10.95, allocations: 0 / 3.934 GB, free: 51.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00431/10.95, allocations: 1.101 MB / 3.935 GB, free: 50 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.005362/10.96, allocations: 2.769 MB / 3.938 GB, free: 47.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005129/10.96, allocations: 1.686 MB / 3.94 GB, free: 45.33 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/10.96, allocations: 4.938 kB / 3.94 GB, free: 45.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/10.97, allocations: 419.2 kB / 3.94 GB, free: 44.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005246/10.97, allocations: 0.6464 MB / 3.941 GB, free: 44.28 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/10.98, allocations: 3.161 MB / 3.944 GB, free: 41.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/10.98, allocations: 1.285 MB / 3.945 GB, free: 39.76 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002386/10.98, allocations: 331.3 kB / 3.945 GB, free: 39.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/10.98, allocations: 107.4 kB / 3.945 GB, free: 39.33 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/10.98, allocations: 7.938 kB / 3.945 GB, free: 39.32 MB / 0.948 GB Notification: Performance of Templates: time 0.1223/11.1, allocations: 54.18 MB / 3.998 GB, free: 1.395 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)