Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.684/4.684, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002402/0.002402, allocations: 363 kB / 0.644 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.061/4.061, allocations: 410.7 MB / 1.112 GB, free: 5.996 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.001759/0.001759, allocations: 183.1 kB / 1.225 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.000484, allocations: 15.98 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6238, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.0252/0.649, allocations: 27.26 MB / 1.487 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.6651, allocations: 11.61 MB / 1.499 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.6664, allocations: 35.75 kB / 1.499 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.668, allocations: 0.5149 MB / 1.499 GB, free: 245 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.6718, allocations: 1.426 MB / 1.501 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006871/0.6787, allocations: 2.319 MB / 1.503 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.6832, allocations: 4.272 MB / 1.507 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.6846, allocations: 0.9909 MB / 1.508 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.6864, allocations: 1.164 MB / 1.509 GB, free: 235 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.6875, allocations: 0.9939 MB / 1.51 GB, free: 234 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.6877, allocations: 56.5 kB / 1.51 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.6894, allocations: 0.6918 MB / 1.511 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.6897, allocations: 318.7 kB / 1.511 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.69, allocations: 313 kB / 1.511 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.6919, allocations: 1.752 MB / 1.513 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.232e-06/0.6919, allocations: 4 kB / 1.513 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.731e-06/0.6919, allocations: 0 / 1.513 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.6919, allocations: 0 / 1.513 GB, free: 230.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.0029/0.6949, allocations: 1.697 MB / 1.515 GB, free: 229.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6949, allocations: 12.62 kB / 1.515 GB, free: 229.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.6961, allocations: 259.5 kB / 1.515 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.6986, allocations: 1.263 MB / 1.516 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.748e-05/0.6987, allocations: 69.39 kB / 1.516 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.6989, allocations: 88 kB / 1.516 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.7009, allocations: 1.02 MB / 1.517 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.7009, allocations: 4 kB / 1.517 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.701, allocations: 34.45 kB / 1.518 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.7011, allocations: 16 kB / 1.518 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.7031, allocations: 0.7829 MB / 1.518 GB, free: 225.5 MB / 0.8542 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.006396/0.7095, allocations: 5.135 MB / 1.523 GB, free: 220 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.7112, allocations: 0.6605 MB / 1.524 GB, free: 219.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/0.7121, allocations: 359.6 kB / 1.524 GB, free: 219 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/0.7147, allocations: 1.685 MB / 1.526 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.7157, allocations: 375 kB / 1.526 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004873/0.7162, allocations: 95.47 kB / 1.526 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 3.533e-06/0.7162, allocations: 0 / 1.526 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.005186/0.7214, allocations: 1.383 MB / 1.528 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.7215, allocations: 55.41 kB / 1.528 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.7235, allocations: 1.313 MB / 1.529 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.7236, allocations: 45.7 kB / 1.529 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.7242, allocations: 0.6333 MB / 1.53 GB, free: 213.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.7243, allocations: 157.8 kB / 1.53 GB, free: 213 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.7244, allocations: 12 kB / 1.53 GB, free: 213 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.7245, allocations: 341.8 kB / 1.53 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009249/0.7254, allocations: 273.8 kB / 1.53 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009233/0.7264, allocations: 0.6169 MB / 1.531 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.7272, allocations: 382.2 kB / 1.531 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.977e-06/0.7273, allocations: 4 kB / 1.531 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003017/0.7303, allocations: 1.145 MB / 1.533 GB, free: 210.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.7305, allocations: 351.5 kB / 1.533 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.7305, allocations: 8 kB / 1.533 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009598/0.7315, allocations: 224.6 kB / 1.533 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.7322, allocations: 147.8 kB / 1.533 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000975/0.7332, allocations: 0.8702 MB / 1.534 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.7346, allocations: 92.58 kB / 1.534 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/0.7347, allocations: 44.05 kB / 1.534 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.7347, allocations: 4 kB / 1.534 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001907/0.7366, allocations: 0.8713 MB / 1.535 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7367, allocations: 8 kB / 1.535 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.7371, allocations: 146.4 kB / 1.535 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.7378, allocations: 135.8 kB / 1.535 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.7404, allocations: 2.345 MB / 1.538 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.7416, allocations: 88.16 kB / 1.538 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.7417, allocations: 35.98 kB / 1.538 GB, free: 204.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007292/0.7424, allocations: 481.2 kB / 1.538 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.7426, allocations: 130.3 kB / 1.538 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.7451, allocations: 0.9387 MB / 1.539 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.7451, allocations: 8 kB / 1.539 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.562e-06/0.7451, allocations: 0 / 1.539 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001799/0.7469, allocations: 0.9507 MB / 1.54 GB, free: 201.9 MB / 0.8542 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.003922/0.7509, allocations: 1.998 MB / 1.542 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.847e-06/0.7509, allocations: 0 / 1.542 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.7515, allocations: 87.88 kB / 1.542 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/0.7519, allocations: 140.1 kB / 1.542 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.752, allocations: 23.94 kB / 1.542 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000737/0.7527, allocations: 0.8136 MB / 1.543 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.474e-06/0.7528, allocations: 4 kB / 1.543 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/0.7557, allocations: 1.307 MB / 1.544 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006125/0.7564, allocations: 283.4 kB / 1.545 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.7566, allocations: 16.06 kB / 1.545 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009843/0.7576, allocations: 75.77 kB / 1.545 GB, free: 197 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.7577, allocations: 44.38 kB / 1.545 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.7578, allocations: 19.98 kB / 1.545 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001367/0.7592, allocations: 0.9049 MB / 1.546 GB, free: 196 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.53e-07/0.7592, allocations: 4 kB / 1.546 GB, free: 196 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002216/0.7614, allocations: 0.6784 MB / 1.546 GB, free: 195.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009069/0.7623, allocations: 343.7 kB / 1.547 GB, free: 195 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003596/0.766, allocations: 1.436 MB / 1.548 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.085e-06/0.766, allocations: 0 / 1.548 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.767, allocations: 355.2 kB / 1.549 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/0.7703, allocations: 0.5895 MB / 1.549 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.7745, allocations: 2.721 MB / 1.552 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/0.7754, allocations: 1.298 MB / 1.553 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001498/0.7769, allocations: 295.6 kB / 1.553 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.7772, allocations: 99.41 kB / 1.553 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.186e-06/0.7772, allocations: 4 kB / 1.553 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.04994/0.8272, allocations: 25.17 MB / 1.578 GB, free: 163.5 MB / 0.8542 GB