Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.298/2.298, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001506, allocations: 186.3 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.481/2.48, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 92.23 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006823/0.0006826, allocations: 13.14 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2507, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.9398/1.191, allocations: 170.5 MB / 1.065 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03126/1.222, allocations: 14.7 MB / 1.08 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/1.224, allocations: 45.5 kB / 1.08 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/1.228, allocations: 0.7712 MB / 1.081 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009938/1.238, allocations: 2.113 MB / 1.083 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/1.25, allocations: 2.364 MB / 1.085 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006143/1.257, allocations: 2.161 MB / 1.087 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/1.259, allocations: 1.065 MB / 1.088 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005661/1.265, allocations: 1.475 MB / 1.089 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/1.268, allocations: 0.7515 MB / 1.09 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005287/1.268, allocations: 60.28 kB / 1.09 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005594/1.274, allocations: 1.257 MB / 1.092 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/1.275, allocations: 464.6 kB / 1.092 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/1.277, allocations: 357.1 kB / 1.092 GB, free: 19.28 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005383/1.282, allocations: 2.257 MB / 1.094 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/1.282, allocations: 0 / 1.094 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.737e-06/1.282, allocations: 0 / 1.094 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.311e-05/1.282, allocations: 6.906 kB / 1.095 GB, free: 19.11 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.008028/1.29, allocations: 1.902 MB / 1.096 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/1.29, allocations: 8.812 kB / 1.096 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007905/1.298, allocations: 459.4 kB / 1.097 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006752/1.305, allocations: 1.321 MB / 1.098 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/1.305, allocations: 78.75 kB / 1.098 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005568/1.306, allocations: 107.9 kB / 1.098 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0056/1.312, allocations: 1.169 MB / 1.099 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.329e-05/1.312, allocations: 2.906 kB / 1.099 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/1.312, allocations: 41.53 kB / 1.099 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.381e-05/1.312, allocations: 42.38 kB / 1.1 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005337/1.317, allocations: 0.8814 MB / 1.1 GB, free: 17.38 MB / 0.7136 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.01619/1.334, allocations: 4.887 MB / 1.105 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004755/1.339, allocations: 0.7656 MB / 1.106 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/1.339, allocations: 21.84 kB / 1.106 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002383/1.341, allocations: 461.3 kB / 1.106 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001263/1.342, allocations: 82.98 kB / 1.106 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 7.584e-06/1.343, allocations: 0 / 1.106 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.007889/1.35, allocations: 1.214 MB / 1.108 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.351, allocations: 134.8 kB / 1.108 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/1.354, allocations: 1.168 MB / 1.109 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003529/1.354, allocations: 43.14 kB / 1.109 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/1.356, allocations: 0.6833 MB / 1.11 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000505/1.356, allocations: 238.1 kB / 1.11 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.356, allocations: 15.28 kB / 1.11 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.356, allocations: 342.3 kB / 1.11 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/1.358, allocations: 330.5 kB / 1.11 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/1.361, allocations: 0.5842 MB / 1.111 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/1.363, allocations: 439.2 kB / 1.111 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-05/1.363, allocations: 4.219 kB / 1.111 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006668/1.37, allocations: 1.153 MB / 1.113 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.371, allocations: 2.164 MB / 1.115 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.18e-05/1.371, allocations: 11.73 kB / 1.115 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009813/1.372, allocations: 79.92 kB / 1.115 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/1.375, allocations: 207.4 kB / 1.115 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/1.377, allocations: 1.207 MB / 1.116 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/1.38, allocations: 94.08 kB / 1.116 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/1.38, allocations: 48 kB / 1.116 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.38, allocations: 5.375 kB / 1.116 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006642/1.387, allocations: 1.058 MB / 1.117 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/1.387, allocations: 8.969 kB / 1.117 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009339/1.388, allocations: 147.6 kB / 1.117 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.39, allocations: 179.4 kB / 1.118 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006946/1.397, allocations: 2.883 MB / 1.12 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/1.399, allocations: 89.91 kB / 1.121 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/1.399, allocations: 43.89 kB / 1.121 GB, free: 7.84 MB / 0.7136 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.001408/1.4, allocations: 466.8 kB / 1.121 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/1.401, allocations: 136.4 kB / 1.121 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/1.404, allocations: 0.9297 MB / 1.122 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.404, allocations: 5 kB / 1.122 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.404, allocations: 4 kB / 1.122 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002867/1.407, allocations: 0.8203 MB / 1.123 GB, free: 7.277 MB / 0.7136 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.007216/1.415, allocations: 2.217 MB / 1.125 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.415, allocations: 2.859 kB / 1.125 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.416, allocations: 159.3 kB / 1.125 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005468/1.417, allocations: 82.59 kB / 1.125 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.417, allocations: 23.48 kB / 1.125 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/1.418, allocations: 1.195 MB / 1.126 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.418, allocations: 4 kB / 1.126 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005432/1.424, allocations: 1.441 MB / 1.128 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.425, allocations: 278 kB / 1.128 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/1.425, allocations: 20.09 kB / 1.128 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/1.427, allocations: 100.9 kB / 1.128 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/1.427, allocations: 53.61 kB / 1.128 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.427, allocations: 25.83 kB / 1.128 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001921/1.429, allocations: 0.7876 MB / 1.129 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.02e-07/1.429, allocations: 0 / 1.129 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003975/1.433, allocations: 0.8302 MB / 1.13 GB, free: 4.191 MB / 0.7136 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.001842/1.435, allocations: 456.8 kB / 1.13 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005766/1.441, allocations: 1.617 MB / 1.132 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.441, allocations: 0 / 1.132 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.443, allocations: 399.4 kB / 1.132 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005251/1.448, allocations: 0.6453 MB / 1.133 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/1.455, allocations: 3.154 MB / 1.136 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.457, allocations: 1.322 MB / 1.137 GB, free: 428 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002493/1.459, allocations: 335.5 kB / 1.138 GB, free: 264 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/1.46, allocations: 103.1 kB / 1.138 GB, free: 252 kB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/1.46, allocations: 3.938 kB / 1.138 GB, free: 248 kB / 0.7136 GB Notification: Performance of Templates: time 0.07727/1.537, allocations: 28.07 MB / 1.165 GB, free: 12.2 MB / 0.7448 GB