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.632/1.632, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001348/0.001348, allocations: 180.9 kB / 361.4 MB, free: 6.852 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.545/1.545, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.0008679/0.0008677, allocations: 107 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.926e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5983, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.697/5.295, allocations: 2.115 GB / 3.08 GB, free: 278.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/5.295, allocations: 87.84 kB / 3.08 GB, free: 278.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.935/8.23, allocations: 0.7953 GB / 3.875 GB, free: 169.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.714e-06/8.23, allocations: 0 / 3.875 GB, free: 169.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003426/8.23, allocations: 42.31 kB / 3.875 GB, free: 169.7 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.006797/8.237, allocations: 1.881 MB / 3.877 GB, free: 168.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/8.237, allocations: 8.906 kB / 3.877 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/8.241, allocations: 422.8 kB / 3.877 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/8.247, allocations: 1.845 MB / 3.879 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.114e-05/8.247, allocations: 30.62 kB / 3.879 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005167/8.248, allocations: 68.98 kB / 3.879 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002377/8.25, allocations: 0.7985 MB / 3.88 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/8.253, allocations: 1.006 MB / 3.881 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/8.253, allocations: 1.438 kB / 3.881 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/8.253, allocations: 1.188 kB / 3.881 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/8.253, allocations: 33.47 kB / 3.881 GB, free: 168.3 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.009164/8.262, allocations: 4.748 MB / 3.886 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/8.264, allocations: 0.8598 MB / 3.886 GB, free: 166 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007083/8.265, allocations: 364 kB / 3.887 GB, free: 166 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/8.265, allocations: 106.2 kB / 3.887 GB, free: 165.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007992/8.266, allocations: 418.1 kB / 3.887 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/8.267, allocations: 66.2 kB / 3.887 GB, free: 165.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 6.402e-06/8.267, allocations: 6.031 kB / 3.887 GB, free: 165.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002557/8.269, allocations: 0.8455 MB / 3.888 GB, free: 165.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/8.269, allocations: 195 kB / 3.888 GB, free: 165.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/8.271, allocations: 0.8894 MB / 3.889 GB, free: 165.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/8.272, allocations: 32.27 kB / 3.889 GB, free: 165.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/8.272, allocations: 0.6604 MB / 3.89 GB, free: 165.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/8.273, allocations: 236.7 kB / 3.89 GB, free: 165 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/8.273, allocations: 0 / 3.89 GB, free: 165 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/8.273, allocations: 339.5 kB / 3.89 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/8.273, allocations: 308.2 kB / 3.891 GB, free: 164.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/8.274, allocations: 0.5897 MB / 3.891 GB, free: 164.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/8.275, allocations: 411.5 kB / 3.892 GB, free: 164.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/8.275, allocations: 3.938 kB / 3.892 GB, free: 164.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001959/8.277, allocations: 1.037 MB / 3.893 GB, free: 164.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004612/8.277, allocations: 2.074 MB / 3.895 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/8.277, allocations: 7.844 kB / 3.895 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/8.277, allocations: 97.5 kB / 3.895 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/8.278, allocations: 203 kB / 3.895 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007291/8.279, allocations: 1.288 MB / 3.896 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/8.281, allocations: 76.02 kB / 3.896 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/8.281, allocations: 54.75 kB / 3.896 GB, free: 161 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/8.281, allocations: 3.938 kB / 3.896 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001671/8.282, allocations: 0.8548 MB / 3.897 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/8.282, allocations: 6.062 kB / 3.897 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/8.283, allocations: 101.3 kB / 3.897 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/8.283, allocations: 189.2 kB / 3.898 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/8.287, allocations: 2.606 MB / 3.9 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/8.289, allocations: 81.41 kB / 3.9 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/8.289, allocations: 51.34 kB / 3.9 GB, free: 159.3 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.000301/8.289, allocations: 128.8 kB / 3.9 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/8.289, allocations: 130.9 kB / 3.9 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/8.291, allocations: 0.8465 MB / 3.901 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/8.291, allocations: 11.53 kB / 3.901 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/8.291, allocations: 0 / 3.901 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/8.292, allocations: 0.7572 MB / 3.902 GB, free: 158.8 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.004346/8.297, allocations: 2.067 MB / 3.904 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/8.297, allocations: 0 / 3.904 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/8.298, allocations: 172.7 kB / 3.904 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/8.298, allocations: 58.64 kB / 3.904 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/8.298, allocations: 14.55 kB / 3.904 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005203/8.298, allocations: 1.202 MB / 3.905 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/8.298, allocations: 2.156 kB / 3.905 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/8.3, allocations: 1.349 MB / 3.907 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/8.301, allocations: 272.1 kB / 3.907 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/8.301, allocations: 6.094 kB / 3.907 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/8.302, allocations: 87.45 kB / 3.907 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/8.303, allocations: 55.19 kB / 3.907 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/8.303, allocations: 33.14 kB / 3.907 GB, free: 156.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00108/8.304, allocations: 0.6717 MB / 3.908 GB, free: 156.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.8e-07/8.304, allocations: 0 / 3.908 GB, free: 156.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003771/8.308, allocations: 1.012 MB / 3.909 GB, free: 156.5 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.004801/8.312, allocations: 2.889 MB / 3.912 GB, free: 155.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002802/8.315, allocations: 1.549 MB / 3.913 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/8.315, allocations: 0 / 3.913 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006533/8.316, allocations: 356.7 kB / 3.914 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/8.319, allocations: 0.5954 MB / 3.914 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/8.323, allocations: 1.972 MB / 3.916 GB, free: 154.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/8.324, allocations: 1.326 MB / 3.917 GB, free: 154 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002254/8.327, allocations: 469.1 kB / 3.918 GB, free: 154 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/8.327, allocations: 81.88 kB / 3.918 GB, free: 154 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/8.327, allocations: 0 / 3.918 GB, free: 154 MB / 0.948 GB Notification: Performance of Templates: time 0.06587/8.393, allocations: 40.63 MB / 3.958 GB, free: 151.7 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)