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.463/4.463, allocations: 0.5623 GB / 0.5769 GB, free: 66.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002628/0.002627, allocations: 358.2 kB / 0.644 GB, free: 21.52 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.919/3.919, allocations: 410.7 MB / 1.112 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001837/0.001837, allocations: 186.6 kB / 1.225 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 14.7 kB / 1.348 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1541, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.177/0.3312, allocations: 184.5 MB / 1.641 GB, free: 35.94 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.3532, allocations: 15.41 MB / 1.656 GB, free: 20.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.3549, allocations: 51.69 kB / 1.656 GB, free: 20.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.3571, allocations: 0.6755 MB / 1.657 GB, free: 19.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006704/0.3639, allocations: 2.246 MB / 1.659 GB, free: 17.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.007382/0.3713, allocations: 2.382 MB / 1.661 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004729/0.376, allocations: 4.117 MB / 1.665 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.3777, allocations: 1.034 MB / 1.666 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.3808, allocations: 1.489 MB / 1.668 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.3824, allocations: 1.058 MB / 1.669 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.3826, allocations: 60 kB / 1.669 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.3855, allocations: 1.216 MB / 1.67 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005649/0.3861, allocations: 486.4 kB / 1.67 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.3866, allocations: 356.8 kB / 1.671 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.3893, allocations: 2.248 MB / 1.673 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3893, allocations: 0 / 1.673 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.327e-06/0.3894, allocations: 3.938 kB / 1.673 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.904e-05/0.3894, allocations: 4 kB / 1.673 GB, free: 3.039 MB / 0.8073 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.003401/0.3928, allocations: 1.91 MB / 1.675 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3929, allocations: 12.83 kB / 1.675 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5056/0.8984, allocations: 442.9 kB / 1.675 GB, free: 219 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.9021, allocations: 1.278 MB / 1.676 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.9023, allocations: 84.73 kB / 1.677 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.9025, allocations: 109.5 kB / 1.677 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.9053, allocations: 1.174 MB / 1.678 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.9054, allocations: 0.9688 kB / 1.678 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.9055, allocations: 41.5 kB / 1.678 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/0.9056, allocations: 34.44 kB / 1.678 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.9083, allocations: 0.8935 MB / 1.679 GB, free: 218.5 MB / 0.8073 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.008237/0.9165, allocations: 4.889 MB / 1.684 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.919, allocations: 0.7966 MB / 1.684 GB, free: 215 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.9202, allocations: 427.2 kB / 1.685 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.9205, allocations: 108.8 kB / 1.685 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.9216, allocations: 471.5 kB / 1.685 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006326/0.9223, allocations: 85.72 kB / 1.685 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=69): time 4.559e-06/0.9223, allocations: 0 / 1.685 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=69): time 0.003839/0.9262, allocations: 1.236 MB / 1.687 GB, free: 214 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.9262, allocations: 138.1 kB / 1.687 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.9284, allocations: 1.179 MB / 1.688 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.9285, allocations: 44.02 kB / 1.688 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000624/0.9291, allocations: 0.6722 MB / 1.689 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.9294, allocations: 240 kB / 1.689 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.9295, allocations: 16.81 kB / 1.689 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.9296, allocations: 340.1 kB / 1.689 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.9307, allocations: 342.2 kB / 1.689 GB, free: 212.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.932, allocations: 0.5989 MB / 1.69 GB, free: 211.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.9332, allocations: 445.6 kB / 1.69 GB, free: 211.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.934e-06/0.9332, allocations: 3.219 kB / 1.69 GB, free: 211.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003583/0.9368, allocations: 1.173 MB / 1.692 GB, free: 211.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.937, allocations: 276.5 kB / 1.692 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.937, allocations: 7.062 kB / 1.692 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.9376, allocations: 88.55 kB / 1.692 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.9388, allocations: 202.2 kB / 1.692 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000908/0.9397, allocations: 1.22 MB / 1.693 GB, free: 209.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.9411, allocations: 89.47 kB / 1.693 GB, free: 209.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.9413, allocations: 50.03 kB / 1.693 GB, free: 209.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.9413, allocations: 3.844 kB / 1.693 GB, free: 209.6 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002881/0.9442, allocations: 1.072 MB / 1.695 GB, free: 209.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.9442, allocations: 8.719 kB / 1.695 GB, free: 209.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007619/0.945, allocations: 150.1 kB / 1.695 GB, free: 209.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.9461, allocations: 184.2 kB / 1.695 GB, free: 209.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.9514, allocations: 2.824 MB / 1.698 GB, free: 207 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.953, allocations: 87.28 kB / 1.698 GB, free: 207 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9531, allocations: 39.02 kB / 1.698 GB, free: 207 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009324/0.954, allocations: 467.6 kB / 1.698 GB, free: 206.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.9543, allocations: 136.2 kB / 1.698 GB, free: 206.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.9572, allocations: 0.9417 MB / 1.699 GB, free: 206.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.9572, allocations: 7.547 kB / 1.699 GB, free: 206.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.393e-06/0.9572, allocations: 1.656 kB / 1.699 GB, free: 206.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00235/0.9596, allocations: 0.844 MB / 1.7 GB, free: 205.8 MB / 0.8073 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.005678/0.9653, allocations: 2.252 MB / 1.702 GB, free: 204.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.9654, allocations: 4.859 kB / 1.702 GB, free: 204.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.9665, allocations: 155 kB / 1.702 GB, free: 204.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003995/0.967, allocations: 89.84 kB / 1.702 GB, free: 204.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/0.9671, allocations: 29.48 kB / 1.703 GB, free: 204.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006656/0.9677, allocations: 1.194 MB / 1.704 GB, free: 203.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.381e-06/0.9678, allocations: 1.688 kB / 1.704 GB, free: 203.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/0.9716, allocations: 1.404 MB / 1.705 GB, free: 202.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/0.9723, allocations: 275.2 kB / 1.705 GB, free: 202.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.9725, allocations: 20.3 kB / 1.705 GB, free: 202.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.9737, allocations: 96.22 kB / 1.705 GB, free: 202.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.9739, allocations: 46.61 kB / 1.705 GB, free: 202.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.974, allocations: 24.64 kB / 1.705 GB, free: 202.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001378/0.9754, allocations: 0.8049 MB / 1.706 GB, free: 202.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.66e-07/0.9754, allocations: 0 / 1.706 GB, free: 202.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002867/0.9783, allocations: 0.8263 MB / 1.707 GB, free: 202.1 MB / 0.8073 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 (66): * Single equations (assignments): 62 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.9796, allocations: 444.5 kB / 1.708 GB, free: 202 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004274/0.9839, allocations: 1.656 MB / 1.709 GB, free: 201.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.577e-06/0.9839, allocations: 1.031 kB / 1.709 GB, free: 201.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.9851, allocations: 408.3 kB / 1.71 GB, free: 201.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.9887, allocations: 0.6537 MB / 1.71 GB, free: 200.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.9938, allocations: 3.143 MB / 1.713 GB, free: 198.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009329/0.9948, allocations: 1.321 MB / 1.715 GB, free: 197.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002014/0.9968, allocations: 333.5 kB / 1.715 GB, free: 197.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/0.9972, allocations: 102.2 kB / 1.715 GB, free: 197.6 MB / 0.8073 GB Notification: Performance of SimCode: time 1.718e-06/0.9972, allocations: 3.938 kB / 1.715 GB, free: 197.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.05736/1.055, allocations: 28.23 MB / 1.743 GB, free: 173.3 MB / 0.8073 GB