Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.598/2.598, allocations: 287.9 MB / 302.9 MB, free: 8.395 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.001456/0.001456, allocations: 176.5 kB / 371.4 MB, free: 10.66 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 1.974/1.974, allocations: 205.4 MB / 0.6301 GB, free: 10.29 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.00102/0.00102, allocations: 90.77 kB / 0.7434 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008298/0.0008302, allocations: 9.812 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1709, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.08952/0.2605, allocations: 67.52 MB / 1.045 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03984/0.3004, allocations: 19.63 MB / 1.064 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003884/0.3043, allocations: 87.31 kB / 1.064 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005119/0.3095, allocations: 1.279 MB / 1.065 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.3215, allocations: 3.14 MB / 1.068 GB, free: 324 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.6254/0.947, allocations: 3.879 MB / 1.072 GB, free: 18.65 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02214/0.9691, allocations: 15.04 MB / 1.087 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02534/0.9945, allocations: 13.54 MB / 1.1 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01675/1.011, allocations: 8.147 MB / 1.108 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01891/1.03, allocations: 8.672 MB / 1.116 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004694/1.035, allocations: 0.8171 MB / 1.117 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/1.046, allocations: 1.8 MB / 1.119 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.006171/1.052, allocations: 2.922 MB / 1.122 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.008786/1.061, allocations: 1.856 MB / 1.124 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02103/1.082, allocations: 14.06 MB / 1.137 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.612e-06/1.082, allocations: 0 / 1.137 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.095e-06/1.082, allocations: 0 / 1.137 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003568/1.082, allocations: 0 / 1.137 GB, free: 8.387 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: 1434 * Number of variables: 1434 Notification: Performance of Generate backend data structure: time 0.03529/1.118, allocations: 13.2 MB / 1.15 GB, free: 14.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.118, allocations: 8.031 kB / 1.15 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008482/1.126, allocations: 1.293 MB / 1.151 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0259/1.152, allocations: 9.044 MB / 1.16 GB, free: 6.703 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005612/1.153, allocations: 448.1 kB / 1.161 GB, free: 6.453 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/1.156, allocations: 0.5953 MB / 1.161 GB, free: 6.047 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04847/1.205, allocations: 14.75 MB / 1.176 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004174/1.205, allocations: 19.84 kB / 1.176 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004703/1.21, allocations: 248 kB / 1.176 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002625/1.21, allocations: 140 kB / 1.176 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07335/1.284, allocations: 19.94 MB / 1.196 GB, free: 7.648 MB / 0.7292 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.1698/1.453, allocations: 67.24 MB / 1.261 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.474, allocations: 9.388 MB / 1.27 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0772/1.551, allocations: 31.35 MB / 1.301 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01746/1.568, allocations: 7.776 MB / 1.309 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03907/1.608, allocations: 11.81 MB / 1.32 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=308): time 2.337e-05/1.608, allocations: 4 kB / 1.32 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=308): time 0.07494/1.683, allocations: 24.52 MB / 1.344 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/1.683, allocations: 243.2 kB / 1.344 GB, free: 13.91 MB / 0.8855 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.01893/1.702, allocations: 8.81 MB / 1.353 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.002024/1.704, allocations: 101.7 kB / 1.353 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.006262/1.71, allocations: 4.101 MB / 1.357 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0033/1.713, allocations: 1.116 MB / 1.358 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/1.715, allocations: 88 kB / 1.358 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005699/1.716, allocations: 0.4936 MB / 1.359 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01484/1.731, allocations: 6.62 MB / 1.365 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01708/1.748, allocations: 8.5 MB / 1.373 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/1.765, allocations: 7.52 MB / 1.381 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-05/1.765, allocations: 16 kB / 1.381 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.04963/1.815, allocations: 17.76 MB / 1.398 GB, free: 5.871 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01364/1.828, allocations: 25.62 MB / 1.423 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/1.828, allocations: 55.98 kB / 1.423 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6173/2.446, allocations: 11.49 MB / 1.434 GB, free: 336.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/2.457, allocations: 1.597 MB / 1.436 GB, free: 336.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/2.471, allocations: 6.841 MB / 1.443 GB, free: 333.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01351/2.485, allocations: 0.6271 MB / 1.443 GB, free: 333.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003059/2.488, allocations: 0.5469 MB / 1.444 GB, free: 333.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/2.488, allocations: 3.344 kB / 1.444 GB, free: 333.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04342/2.531, allocations: 16.68 MB / 1.46 GB, free: 328.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001937/2.531, allocations: 49.34 kB / 1.46 GB, free: 328.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07942/2.611, allocations: 11.02 MB / 1.471 GB, free: 327.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/2.621, allocations: 1.587 MB / 1.473 GB, free: 327.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/2.641, allocations: 11.17 MB / 1.483 GB, free: 320.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/2.654, allocations: 0.5931 MB / 1.484 GB, free: 320.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002756/2.656, allocations: 0.5405 MB / 1.485 GB, free: 320.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (543): * Single equations (assignments): 533 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.008846/2.665, allocations: 2.68 MB / 1.487 GB, free: 318.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003302/2.669, allocations: 0.7664 MB / 1.488 GB, free: 318.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03655/2.705, allocations: 14.43 MB / 1.502 GB, free: 310.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/2.705, allocations: 42.27 kB / 1.502 GB, free: 310.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/2.705, allocations: 0 / 1.502 GB, free: 310.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02241/2.728, allocations: 11.01 MB / 1.513 GB, free: 303.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04925/2.777, allocations: 25.22 MB / 1.537 GB, free: 279.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/2.777, allocations: 3.938 kB / 1.537 GB, free: 279.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006773/2.784, allocations: 0.7158 MB / 1.538 GB, free: 278.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07284/2.857, allocations: 10.33 MB / 1.548 GB, free: 268.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/2.858, allocations: 111.9 kB / 1.548 GB, free: 268.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006012/2.864, allocations: 4.872 MB / 1.553 GB, free: 263.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.722e-06/2.864, allocations: 7.953 kB / 1.553 GB, free: 263.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03626/2.9, allocations: 19.73 MB / 1.572 GB, free: 243.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006812/2.907, allocations: 2.145 MB / 1.574 GB, free: 241.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00294/2.91, allocations: 79.97 kB / 1.575 GB, free: 241.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009365/2.92, allocations: 465.1 kB / 1.575 GB, free: 241 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001517/2.921, allocations: 229.5 kB / 1.575 GB, free: 240.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009375/2.922, allocations: 159.9 kB / 1.575 GB, free: 240.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01219/2.934, allocations: 6.108 MB / 1.581 GB, free: 234.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.233e-06/2.934, allocations: 3.938 kB / 1.581 GB, free: 234.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02261/2.957, allocations: 5.103 MB / 1.586 GB, free: 229.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 26 (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],vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (312): * Single equations (assignments): 302 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,1 6,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002656/2.96, allocations: 0.6356 MB / 1.587 GB, free: 229.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04664/3.006, allocations: 24.51 MB / 1.611 GB, free: 204.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/3.006, allocations: 5.438 kB / 1.611 GB, free: 204.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01182/3.018, allocations: 6.438 MB / 1.617 GB, free: 198.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02685/3.045, allocations: 5.027 MB / 1.622 GB, free: 193.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04139/3.087, allocations: 23.58 MB / 1.645 GB, free: 169.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007329/3.094, allocations: 5.447 MB / 1.65 GB, free: 164 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0249/3.119, allocations: 5.156 MB / 1.655 GB, free: 158.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007187/3.126, allocations: 0.9437 MB / 1.656 GB, free: 157.9 MB / 0.9636 GB Notification: Performance of SimCode: time 2.324e-06/3.126, allocations: 0 / 1.656 GB, free: 157.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.9595/4.086, allocations: 225.7 MB / 1.877 GB, free: 278.6 MB / 0.9636 GB