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.662/1.662, allocations: 288.3 MB / 303.2 MB, free: 8.234 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.001274/0.001274, allocations: 181.7 kB / 371.8 MB, free: 10.25 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.898/1.898, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0009139/0.0009138, allocations: 98.8 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005438/0.0005437, allocations: 11.72 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2885, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.065/6.353, allocations: 2.116 GB / 3.095 GB, free: 163.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/6.353, allocations: 99.33 kB / 3.095 GB, free: 163.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.825/9.178, allocations: 0.8052 GB / 3.901 GB, free: 78.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/9.178, allocations: 0 / 3.901 GB, free: 78.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001928/9.178, allocations: 43.92 kB / 3.901 GB, free: 78.06 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.007203/9.186, allocations: 2.367 MB / 3.903 GB, free: 75.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/9.186, allocations: 8.031 kB / 3.903 GB, free: 75.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/9.189, allocations: 432.6 kB / 3.903 GB, free: 75.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00486/9.194, allocations: 1.867 MB / 3.905 GB, free: 73.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-05/9.194, allocations: 78 kB / 3.905 GB, free: 73.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/9.194, allocations: 111.9 kB / 3.905 GB, free: 73.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/9.196, allocations: 1.197 MB / 3.907 GB, free: 71.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/9.196, allocations: 0 / 3.907 GB, free: 71.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/9.196, allocations: 36 kB / 3.907 GB, free: 71.85 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/9.196, allocations: 37.78 kB / 3.907 GB, free: 71.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/9.198, allocations: 0.9096 MB / 3.908 GB, free: 70.91 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.006554/9.205, allocations: 4.939 MB / 3.912 GB, free: 65.63 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/9.206, allocations: 0.9468 MB / 3.913 GB, free: 64.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/9.207, allocations: 109.7 kB / 3.913 GB, free: 64.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00079/9.207, allocations: 476.1 kB / 3.914 GB, free: 64.07 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007639/9.208, allocations: 87.34 kB / 3.914 GB, free: 63.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 4.859e-06/9.208, allocations: 0 / 3.914 GB, free: 63.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002917/9.211, allocations: 1.295 MB / 3.915 GB, free: 62.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/9.211, allocations: 192.6 kB / 3.915 GB, free: 62.42 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/9.213, allocations: 1.025 MB / 3.916 GB, free: 61.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/9.213, allocations: 49.7 kB / 3.916 GB, free: 61.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004897/9.213, allocations: 0.6615 MB / 3.917 GB, free: 60.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/9.213, allocations: 244.4 kB / 3.917 GB, free: 60.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/9.213, allocations: 16 kB / 3.917 GB, free: 60.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/9.214, allocations: 341.9 kB / 3.918 GB, free: 60.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/9.214, allocations: 345.8 kB / 3.918 GB, free: 59.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/9.215, allocations: 0.6349 MB / 3.919 GB, free: 58.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/9.216, allocations: 451.3 kB / 3.919 GB, free: 58.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/9.216, allocations: 0 / 3.919 GB, free: 58.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001972/9.218, allocations: 1.154 MB / 3.92 GB, free: 57.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000515/9.218, allocations: 2.08 MB / 3.922 GB, free: 55.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/9.218, allocations: 8 kB / 3.922 GB, free: 55.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/9.219, allocations: 72.81 kB / 3.922 GB, free: 55.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/9.219, allocations: 211.1 kB / 3.923 GB, free: 54.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/9.22, allocations: 1.201 MB / 3.924 GB, free: 53.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/9.222, allocations: 103.8 kB / 3.924 GB, free: 53.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/9.222, allocations: 51.98 kB / 3.924 GB, free: 53.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/9.222, allocations: 4 kB / 3.924 GB, free: 53.45 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002048/9.224, allocations: 1.041 MB / 3.925 GB, free: 52.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/9.224, allocations: 11.98 kB / 3.925 GB, free: 52.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/9.224, allocations: 104.8 kB / 3.925 GB, free: 52.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/9.225, allocations: 187.9 kB / 3.925 GB, free: 52.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/9.23, allocations: 2.728 MB / 3.928 GB, free: 49.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/9.231, allocations: 103.8 kB / 3.928 GB, free: 49.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/9.232, allocations: 47.98 kB / 3.928 GB, free: 49.02 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.001541/9.233, allocations: 468.8 kB / 3.928 GB, free: 48.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/9.234, allocations: 134.3 kB / 3.929 GB, free: 48.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/9.236, allocations: 0.9878 MB / 3.93 GB, free: 47.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/9.236, allocations: 4 kB / 3.93 GB, free: 47.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/9.236, allocations: 0 / 3.93 GB, free: 47.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001515/9.238, allocations: 0.8834 MB / 3.93 GB, free: 46.49 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.004342/9.242, allocations: 2.317 MB / 3.933 GB, free: 44.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/9.242, allocations: 0 / 3.933 GB, free: 44.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/9.243, allocations: 171.9 kB / 3.933 GB, free: 43.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/9.243, allocations: 80.58 kB / 3.933 GB, free: 43.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/9.243, allocations: 19.98 kB / 3.933 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005004/9.244, allocations: 1.193 MB / 3.934 GB, free: 42.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/9.244, allocations: 3.938 kB / 3.934 GB, free: 42.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/9.247, allocations: 1.529 MB / 3.936 GB, free: 40.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008465/9.248, allocations: 283.3 kB / 3.936 GB, free: 40.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/9.248, allocations: 15.98 kB / 3.936 GB, free: 40.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/9.249, allocations: 99.91 kB / 3.936 GB, free: 40.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/9.249, allocations: 48.48 kB / 3.936 GB, free: 40.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/9.249, allocations: 35.92 kB / 3.936 GB, free: 40.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001267/9.25, allocations: 0.7921 MB / 3.937 GB, free: 39.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/9.25, allocations: 0 / 3.937 GB, free: 39.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003413/9.254, allocations: 1.107 MB / 3.938 GB, free: 38.58 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.003972/9.258, allocations: 2.763 MB / 3.941 GB, free: 35.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003331/9.261, allocations: 1.694 MB / 3.942 GB, free: 33.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/9.261, allocations: 4 kB / 3.942 GB, free: 33.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/9.262, allocations: 419.2 kB / 3.943 GB, free: 33.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/9.265, allocations: 0.6363 MB / 3.943 GB, free: 32.85 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/9.269, allocations: 3.15 MB / 3.946 GB, free: 29.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/9.27, allocations: 1.316 MB / 3.948 GB, free: 28.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001475/9.272, allocations: 339.2 kB / 3.948 GB, free: 27.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/9.272, allocations: 107.4 kB / 3.948 GB, free: 27.86 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/9.272, allocations: 0 / 3.948 GB, free: 27.86 MB / 0.948 GB Notification: Performance of Templates: time 0.6361/9.908, allocations: 53.89 MB / 4.001 GB, free: 162.6 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)