Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.492/2.492, allocations: 287.9 MB / 302.9 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 183.7 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.6301 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.3 kB / 0.7434 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004828, allocations: 12.38 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.156, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07473/0.2308, allocations: 60.63 MB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03424/0.2651, allocations: 17.71 MB / 1.055 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/0.2682, allocations: 79.38 kB / 1.055 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004433/0.2727, allocations: 1.124 MB / 1.056 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.283, allocations: 2.688 MB / 1.059 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01304/0.296, allocations: 3.592 MB / 1.063 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009213/0.3053, allocations: 4.828 MB / 1.067 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.55/0.8553, allocations: 5.452 MB / 1.073 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006421/0.8618, allocations: 2.5 MB / 1.075 GB, free: 18.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00484/0.8667, allocations: 1.758 MB / 1.077 GB, free: 18.22 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.8678, allocations: 130.9 kB / 1.077 GB, free: 18.22 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006063/0.8739, allocations: 1.188 MB / 1.078 GB, free: 18.22 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.8757, allocations: 0.6193 MB / 1.079 GB, free: 18.22 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.8778, allocations: 0.6761 MB / 1.079 GB, free: 18.19 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007314/0.8851, allocations: 3.722 MB / 1.083 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.293e-06/0.8852, allocations: 4.656 kB / 1.083 GB, free: 17.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.997e-06/0.8852, allocations: 0 / 1.083 GB, free: 17.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001461/0.8853, allocations: 0 / 1.083 GB, free: 17.88 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.0109/0.8962, allocations: 4.018 MB / 1.087 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8963, allocations: 9.625 kB / 1.087 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.8997, allocations: 0.5813 MB / 1.087 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007505/0.9073, allocations: 2.548 MB / 1.09 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.9075, allocations: 147.6 kB / 1.09 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006775/0.9082, allocations: 195.5 kB / 1.09 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0075/0.9157, allocations: 2.519 MB / 1.093 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.285e-05/0.9158, allocations: 13.77 kB / 1.093 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/0.9162, allocations: 75.25 kB / 1.093 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.9162, allocations: 42.06 kB / 1.093 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006772/0.923, allocations: 2.069 MB / 1.095 GB, free: 14.74 MB / 0.6823 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.02389/0.9469, allocations: 12.4 MB / 1.107 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.9518, allocations: 1.663 MB / 1.109 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.9624, allocations: 4.276 MB / 1.113 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002522/0.965, allocations: 0.9175 MB / 1.114 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002838/0.9678, allocations: 457 kB / 1.114 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 8.71e-06/0.9679, allocations: 0 / 1.114 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.02303/0.9909, allocations: 5.285 MB / 1.119 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/0.9912, allocations: 230.1 kB / 1.119 GB, free: 21.07 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/0.9978, allocations: 3.143 MB / 1.123 GB, free: 20.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004314/0.9983, allocations: 60.05 kB / 1.123 GB, free: 20.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1, allocations: 1.484 MB / 1.124 GB, free: 19.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/1.001, allocations: 368.6 kB / 1.124 GB, free: 19.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/1.001, allocations: 36.94 kB / 1.124 GB, free: 19.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.001, allocations: 366.5 kB / 1.125 GB, free: 19.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/1.003, allocations: 0.7646 MB / 1.126 GB, free: 18.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/1.006, allocations: 1.604 MB / 1.127 GB, free: 17.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/1.009, allocations: 0.9921 MB / 1.128 GB, free: 17.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/1.009, allocations: 3.781 kB / 1.128 GB, free: 17.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.009989/1.019, allocations: 3.15 MB / 1.131 GB, free: 16.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00292/1.022, allocations: 6.208 MB / 1.137 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.079e-05/1.022, allocations: 15.56 kB / 1.137 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003894/1.026, allocations: 0.784 MB / 1.138 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.028, allocations: 328.6 kB / 1.138 GB, free: 9.852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/1.031, allocations: 2.171 MB / 1.14 GB, free: 8.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/1.035, allocations: 252.6 kB / 1.141 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/1.036, allocations: 84.83 kB / 1.141 GB, free: 8.465 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.036, allocations: 2.219 kB / 1.141 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006318/1.042, allocations: 2.489 MB / 1.143 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.18e-05/1.042, allocations: 15.16 kB / 1.143 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/1.044, allocations: 0.5854 MB / 1.144 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.046, allocations: 319.7 kB / 1.144 GB, free: 7.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/1.057, allocations: 6.625 MB / 1.151 GB, free: 4.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/1.061, allocations: 240.1 kB / 1.151 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004334/1.062, allocations: 76.12 kB / 1.151 GB, free: 3.945 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 141 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002493/1.064, allocations: 0.8632 MB / 1.152 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009546/1.065, allocations: 310.5 kB / 1.152 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006833/1.072, allocations: 2.59 MB / 1.155 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/1.072, allocations: 9.469 kB / 1.155 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.264e-06/1.072, allocations: 2.938 kB / 1.155 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005175/1.077, allocations: 2.253 MB / 1.157 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/1.089, allocations: 4.895 MB / 1.162 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.089, allocations: 64 / 1.162 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.091, allocations: 170 kB / 1.162 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.093, allocations: 0.5421 MB / 1.162 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/1.093, allocations: 33.69 kB / 1.162 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/1.096, allocations: 2.091 MB / 1.164 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.966e-06/1.096, allocations: 3.375 kB / 1.164 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009093/1.105, allocations: 3.512 MB / 1.168 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/1.107, allocations: 0.5782 MB / 1.168 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009304/1.108, allocations: 24.27 kB / 1.168 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/1.111, allocations: 209.6 kB / 1.168 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/1.112, allocations: 68.77 kB / 1.169 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/1.112, allocations: 43.16 kB / 1.169 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004857/1.117, allocations: 2.136 MB / 1.171 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.204e-06/1.117, allocations: 4 kB / 1.171 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007764/1.124, allocations: 1.574 MB / 1.172 GB, free: 7.789 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (pump.vol.dynBal.U,hea.outCon.T,val.res1.filter.x[1],val.res1.filter.x[2],val.res3.filter.x[1],val.res3.filter.x[2]) * 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 (66): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/1.126, allocations: 0.4886 MB / 1.173 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009349/1.136, allocations: 3.568 MB / 1.176 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.136, allocations: 5.375 kB / 1.176 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002587/1.138, allocations: 0.8533 MB / 1.177 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00983/1.148, allocations: 1.585 MB / 1.179 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.163, allocations: 6.292 MB / 1.185 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003182/1.166, allocations: 2.169 MB / 1.187 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004522/1.171, allocations: 0.7156 MB / 1.188 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.172, allocations: 219.4 kB / 1.188 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of SimCode: time 1.793e-06/1.172, allocations: 0 / 1.188 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of Templates: time 0.1516/1.323, allocations: 60.46 MB / 1.247 GB, free: 12.65 MB / 0.7917 GB