Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001366, allocations: 182.5 kB / 15.76 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7903/0.7903, allocations: 82.93 MB / 99.42 MB, free: 3.328 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 325.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 93.05 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008356/0.0008358, allocations: 15.98 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1392, allocations: 67.45 MB / 0.5263 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.ClosedLoop_y): time 0.6018/0.741, allocations: 170.3 MB / 0.6926 GB, free: 5.156 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.02852/0.7696, allocations: 14.64 MB / 0.7069 GB, free: 6.488 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.7717, allocations: 51.62 kB / 0.707 GB, free: 6.438 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.7749, allocations: 0.7699 MB / 0.7077 GB, free: 5.664 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008209/0.7831, allocations: 2.093 MB / 0.7098 GB, free: 3.566 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009125/0.7922, allocations: 2.329 MB / 0.712 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005089/0.7974, allocations: 2.132 MB / 0.7141 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.7998, allocations: 1.049 MB / 0.7151 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.8043, allocations: 1.456 MB / 0.7166 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.8062, allocations: 0.7507 MB / 0.7173 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003452/0.8066, allocations: 56 kB / 0.7173 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/0.8107, allocations: 1.264 MB / 0.7186 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009267/0.8116, allocations: 450.6 kB / 0.719 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007043/0.8124, allocations: 356.8 kB / 0.7193 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004495/0.8169, allocations: 2.229 MB / 0.7215 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.789e-06/0.8169, allocations: 0 / 0.7215 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.776e-06/0.8169, allocations: 4 kB / 0.7215 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.408e-05/0.817, allocations: 4 kB / 0.7215 GB, free: 7.473 MB / 0.4948 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.004926/0.8219, allocations: 1.894 MB / 0.7234 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.822, allocations: 12.02 kB / 0.7234 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.8256, allocations: 453.4 kB / 0.7238 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.8294, allocations: 1.313 MB / 0.7251 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.8296, allocations: 78 kB / 0.7252 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.8299, allocations: 108 kB / 0.7253 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/0.8329, allocations: 1.16 MB / 0.7264 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.833, allocations: 11.83 kB / 0.7264 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.8331, allocations: 43.98 kB / 0.7265 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/0.8332, allocations: 37.98 kB / 0.7265 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.836, allocations: 0.8822 MB / 0.7274 GB, free: 1.34 MB / 0.4948 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.009949/0.846, allocations: 4.87 MB / 0.7321 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.8485, allocations: 0.7797 MB / 0.7329 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.164e-05/0.8487, allocations: 20.53 kB / 0.7329 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.85, allocations: 454.9 kB / 0.7333 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006311/0.8506, allocations: 75.41 kB / 0.7334 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=69): time 4.935e-06/0.8506, allocations: 4 kB / 0.7334 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69): time 0.004266/0.8549, allocations: 1.21 MB / 0.7346 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.8551, allocations: 137.1 kB / 0.7347 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.8573, allocations: 1.173 MB / 0.7359 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.8575, allocations: 45.69 kB / 0.7359 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008379/0.8584, allocations: 0.6653 MB / 0.7366 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.8587, allocations: 240.5 kB / 0.7368 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.8588, allocations: 16 kB / 0.7368 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.859, allocations: 345.9 kB / 0.7371 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.8601, allocations: 333.8 kB / 0.7375 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.8614, allocations: 0.5824 MB / 0.738 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.8627, allocations: 456 kB / 0.7385 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.327e-06/0.8627, allocations: 0 / 0.7385 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003428/0.8661, allocations: 1.148 MB / 0.7396 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.8674, allocations: 2.163 MB / 0.7417 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.8675, allocations: 8 kB / 0.7417 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/0.868, allocations: 84.75 kB / 0.7418 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.8693, allocations: 203.7 kB / 0.742 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.8707, allocations: 1.217 MB / 0.7432 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.8722, allocations: 90.81 kB / 0.7433 GB, free: 320 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.8724, allocations: 51.94 kB / 0.7433 GB, free: 268 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.8724, allocations: 6.5 kB / 0.7433 GB, free: 264 kB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003061/0.8755, allocations: 1.054 MB / 0.7443 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.8755, allocations: 8 kB / 0.7443 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007012/0.8763, allocations: 153.1 kB / 0.7445 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.8773, allocations: 183.7 kB / 0.7447 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/0.8833, allocations: 2.876 MB / 0.7475 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.8848, allocations: 87.84 kB / 0.7476 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.885, allocations: 51.91 kB / 0.7476 GB, free: 11.62 MB / 0.5261 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.001068/0.8861, allocations: 475.5 kB / 0.7481 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.8864, allocations: 142.3 kB / 0.7482 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.8894, allocations: 0.9215 MB / 0.7491 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.8894, allocations: 4 kB / 0.7491 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.241e-06/0.8894, allocations: 8 kB / 0.7491 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002394/0.8918, allocations: 0.8287 MB / 0.7499 GB, free: 9.191 MB / 0.5261 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.005905/0.8978, allocations: 2.211 MB / 0.7521 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8978, allocations: 4 kB / 0.7521 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.8989, allocations: 163.9 kB / 0.7522 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/0.8993, allocations: 76.72 kB / 0.7523 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/0.8994, allocations: 23.98 kB / 0.7523 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.9005, allocations: 1.193 MB / 0.7535 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.143e-06/0.9005, allocations: 0 / 0.7535 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003861/0.9044, allocations: 1.454 MB / 0.7549 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007516/0.9052, allocations: 275.4 kB / 0.7552 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.9055, allocations: 16 kB / 0.7552 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.9066, allocations: 95.75 kB / 0.7553 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.9068, allocations: 44.5 kB / 0.7553 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.084e-05/0.9069, allocations: 31.98 kB / 0.7554 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001538/0.9084, allocations: 0.7841 MB / 0.7561 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.133e-06/0.9084, allocations: 0 / 0.7561 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002906/0.9114, allocations: 0.8225 MB / 0.7569 GB, free: 1.781 MB / 0.5261 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.001393/0.9128, allocations: 448.8 kB / 0.7574 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004553/0.9173, allocations: 1.621 MB / 0.7589 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.9174, allocations: 0 / 0.7589 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.9187, allocations: 403.8 kB / 0.7593 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/0.9223, allocations: 0.6454 MB / 0.76 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/0.9286, allocations: 3.135 MB / 0.763 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.9301, allocations: 1.32 MB / 0.7643 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002058/0.9322, allocations: 335.4 kB / 0.7646 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.9326, allocations: 107.4 kB / 0.7647 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of SimCode: time 1.617e-06/0.9326, allocations: 0 / 0.7647 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of Templates: time 0.06789/1.001, allocations: 27.94 MB / 0.792 GB, free: 13.95 MB / 0.573 GB