Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.982/4.982, allocations: 0.5623 GB / 0.5775 GB, free: 3.402 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002496/0.002496, allocations: 362 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.458/4.458, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00187/0.00187, allocations: 187 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006606/0.0006609, allocations: 8 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7385, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.556/7.294, allocations: 2.116 GB / 3.577 GB, free: 259.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/7.295, allocations: 101.9 kB / 3.577 GB, free: 259.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.315/11.61, allocations: 0.803 GB / 4.38 GB, free: 170.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/11.61, allocations: 0 / 4.38 GB, free: 170.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002668/11.61, allocations: 42.8 kB / 4.38 GB, free: 170.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.009843/11.62, allocations: 2.367 MB / 4.383 GB, free: 169.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/11.62, allocations: 17.38 kB / 4.383 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/11.62, allocations: 424.1 kB / 4.383 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006813/11.63, allocations: 1.823 MB / 4.385 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/11.63, allocations: 84.25 kB / 4.385 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/11.63, allocations: 105.7 kB / 4.385 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/11.64, allocations: 1.198 MB / 4.386 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/11.64, allocations: 0 / 4.386 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/11.64, allocations: 41.94 kB / 4.386 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/11.64, allocations: 33.56 kB / 4.386 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003231/11.64, allocations: 0.9127 MB / 4.387 GB, free: 167.5 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.01072/11.65, allocations: 4.936 MB / 4.392 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/11.65, allocations: 0.9368 MB / 4.393 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/11.65, allocations: 402.6 kB / 4.393 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/11.66, allocations: 106.9 kB / 4.393 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/11.66, allocations: 486.4 kB / 4.394 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009945/11.66, allocations: 88.58 kB / 4.394 GB, free: 163.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 4.738e-06/11.66, allocations: 3.875 kB / 4.394 GB, free: 163.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.005604/11.66, allocations: 1.298 MB / 4.395 GB, free: 162.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/11.66, allocations: 186.6 kB / 4.395 GB, free: 162.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/11.67, allocations: 1.179 MB / 4.396 GB, free: 161.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003052/11.67, allocations: 45.7 kB / 4.397 GB, free: 161.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/11.67, allocations: 0.664 MB / 4.397 GB, free: 160.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/11.67, allocations: 244 kB / 4.397 GB, free: 160.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/11.67, allocations: 20 kB / 4.397 GB, free: 160.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/11.67, allocations: 341.3 kB / 4.398 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/11.67, allocations: 341.7 kB / 4.398 GB, free: 160 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/11.67, allocations: 0.6364 MB / 4.399 GB, free: 159.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/11.67, allocations: 450.1 kB / 4.399 GB, free: 159 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/11.67, allocations: 0 / 4.399 GB, free: 159 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004168/11.68, allocations: 1.152 MB / 4.4 GB, free: 157.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/11.68, allocations: 270.5 kB / 4.4 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/11.68, allocations: 8 kB / 4.401 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/11.68, allocations: 90.02 kB / 4.401 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/11.68, allocations: 210.2 kB / 4.401 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009076/11.68, allocations: 1.208 MB / 4.402 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/11.68, allocations: 99.81 kB / 4.402 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/11.68, allocations: 47.75 kB / 4.402 GB, free: 156 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/11.68, allocations: 5.406 kB / 4.402 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003429/11.69, allocations: 1.05 MB / 4.403 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/11.69, allocations: 4 kB / 4.403 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/11.69, allocations: 110.8 kB / 4.403 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/11.69, allocations: 186.4 kB / 4.403 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005795/11.69, allocations: 2.671 MB / 4.406 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/11.7, allocations: 103.6 kB / 4.406 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/11.7, allocations: 55.78 kB / 4.406 GB, free: 152.1 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.001168/11.7, allocations: 472.9 kB / 4.407 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/11.7, allocations: 134.3 kB / 4.407 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/11.7, allocations: 0.9692 MB / 4.408 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/11.7, allocations: 8 kB / 4.408 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/11.7, allocations: 0 / 4.408 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002721/11.7, allocations: 0.8728 MB / 4.409 GB, free: 149.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.006828/11.71, allocations: 2.312 MB / 4.411 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/11.71, allocations: 0 / 4.411 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/11.71, allocations: 155.8 kB / 4.411 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/11.71, allocations: 79.5 kB / 4.411 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/11.71, allocations: 23.98 kB / 4.411 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006936/11.71, allocations: 1.203 MB / 4.412 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/11.71, allocations: 0 / 4.412 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/11.72, allocations: 1.456 MB / 4.414 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009419/11.72, allocations: 282.2 kB / 4.414 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/11.72, allocations: 15.98 kB / 4.414 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/11.72, allocations: 102.2 kB / 4.414 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/11.72, allocations: 56.42 kB / 4.414 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/11.72, allocations: 35.03 kB / 4.414 GB, free: 144 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001632/11.72, allocations: 0.8025 MB / 4.415 GB, free: 143.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/11.72, allocations: 0 / 4.415 GB, free: 143.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004727/11.73, allocations: 1.099 MB / 4.416 GB, free: 142.1 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.006142/11.73, allocations: 2.769 MB / 4.419 GB, free: 139.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005582/11.74, allocations: 1.678 MB / 4.42 GB, free: 138 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/11.74, allocations: 4 kB / 4.42 GB, free: 138 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/11.74, allocations: 420.2 kB / 4.421 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005468/11.75, allocations: 0.6501 MB / 4.421 GB, free: 136.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007092/11.75, allocations: 3.159 MB / 4.424 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/11.75, allocations: 1.323 MB / 4.426 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002548/11.76, allocations: 338.4 kB / 4.426 GB, free: 132.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/11.76, allocations: 107.2 kB / 4.426 GB, free: 132 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/11.76, allocations: 0 / 4.426 GB, free: 132 MB / 0.948 GB Notification: Performance of Templates: time 0.1188/11.88, allocations: 54.12 MB / 4.479 GB, free: 78.74 MB / 0.948 GB