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 5.035/5.035, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 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.002567/0.002567, allocations: 355.4 kB / 0.6446 GB, free: 185.7 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.163/4.163, allocations: 410.7 MB / 1.113 GB, free: 5.953 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.001824/0.001824, allocations: 183.3 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004928, allocations: 12 kB / 1.349 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7551/0.7556, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.977, allocations: 421.3 MB / 1.873 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/1.977, allocations: 99.28 kB / 1.873 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.295/8.272, allocations: 1.301 GB / 3.174 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.324e-06/8.272, allocations: 3.938 kB / 3.174 GB, free: 4.293 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0007104/8.273, allocations: 87.95 kB / 3.174 GB, free: 4.207 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.7536/9.027, allocations: 4.031 MB / 3.178 GB, free: 174.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/9.027, allocations: 14.53 kB / 3.178 GB, free: 174.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/9.032, allocations: 0.5329 MB / 3.178 GB, free: 174.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/9.052, allocations: 4.29 MB / 3.182 GB, free: 174.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/9.052, allocations: 145.9 kB / 3.183 GB, free: 174.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000911/9.053, allocations: 186.8 kB / 3.183 GB, free: 174.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007117/9.06, allocations: 2.24 MB / 3.185 GB, free: 173.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.851e-05/9.06, allocations: 3 kB / 3.185 GB, free: 173.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/9.061, allocations: 73.7 kB / 3.185 GB, free: 173.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/9.061, allocations: 42.48 kB / 3.185 GB, free: 173.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006298/9.067, allocations: 1.785 MB / 3.187 GB, free: 173.8 MB / 0.9792 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.02217/9.089, allocations: 11.51 MB / 3.198 GB, free: 167.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/9.093, allocations: 1.264 MB / 3.199 GB, free: 167.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/9.096, allocations: 0.9647 MB / 3.2 GB, free: 167.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009953/9.106, allocations: 3.565 MB / 3.204 GB, free: 165.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002035/9.108, allocations: 0.7265 MB / 3.204 GB, free: 165.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003759/9.112, allocations: 0.6201 MB / 3.205 GB, free: 165.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=97): time 7.143e-06/9.112, allocations: 0 / 3.205 GB, free: 165.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=97): time 0.02061/9.132, allocations: 3.96 MB / 3.209 GB, free: 165.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/9.132, allocations: 63.81 kB / 3.209 GB, free: 165.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/9.138, allocations: 2.813 MB / 3.212 GB, free: 165 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003985/9.139, allocations: 60.86 kB / 3.212 GB, free: 165 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/9.141, allocations: 1.42 MB / 3.213 GB, free: 164.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005804/9.141, allocations: 347 kB / 3.214 GB, free: 164.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/9.141, allocations: 30.14 kB / 3.214 GB, free: 164.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001196/9.141, allocations: 363.9 kB / 3.214 GB, free: 164.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/9.143, allocations: 0.5615 MB / 3.214 GB, free: 164.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/9.146, allocations: 1.334 MB / 3.216 GB, free: 163.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/9.148, allocations: 0.7871 MB / 3.217 GB, free: 163.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/9.148, allocations: 3.906 kB / 3.217 GB, free: 163.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00907/9.157, allocations: 2.546 MB / 3.219 GB, free: 162.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003549/9.158, allocations: 0.5263 MB / 3.22 GB, free: 162.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/9.158, allocations: 16.69 kB / 3.22 GB, free: 162.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/9.162, allocations: 0.6573 MB / 3.22 GB, free: 162.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/9.164, allocations: 275.1 kB / 3.22 GB, free: 162.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/9.167, allocations: 1.898 MB / 3.222 GB, free: 161.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/9.171, allocations: 183.1 kB / 3.222 GB, free: 161.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003954/9.171, allocations: 74.75 kB / 3.223 GB, free: 161.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/9.171, allocations: 6.953 kB / 3.223 GB, free: 161.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005949/9.177, allocations: 2.208 MB / 3.225 GB, free: 161 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/9.177, allocations: 10.69 kB / 3.225 GB, free: 161 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/9.179, allocations: 471.8 kB / 3.225 GB, free: 161 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/9.181, allocations: 274.4 kB / 3.225 GB, free: 161 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009839/9.19, allocations: 5.856 MB / 3.231 GB, free: 158.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/9.194, allocations: 172 kB / 3.231 GB, free: 158.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/9.195, allocations: 67.05 kB / 3.231 GB, free: 158.1 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 128 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of prepare postOptimizeDAE: time 0.002265/9.197, allocations: 0.8238 MB / 3.232 GB, free: 158 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009086/9.198, allocations: 297 kB / 3.232 GB, free: 157.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0068/9.205, allocations: 2.191 MB / 3.235 GB, free: 157.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/9.205, allocations: 20.45 kB / 3.235 GB, free: 157.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/9.205, allocations: 0 / 3.235 GB, free: 157.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005039/9.21, allocations: 1.888 MB / 3.236 GB, free: 157.2 MB / 0.9792 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.01163/9.221, allocations: 4.125 MB / 3.24 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/9.221, allocations: 0.625 kB / 3.24 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/9.223, allocations: 126.9 kB / 3.241 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/9.225, allocations: 486.1 kB / 3.241 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/9.225, allocations: 30.27 kB / 3.241 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/9.227, allocations: 1.844 MB / 3.243 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/9.227, allocations: 1.25 kB / 3.243 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008056/9.235, allocations: 2.863 MB / 3.246 GB, free: 155.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/9.237, allocations: 491.8 kB / 3.246 GB, free: 155 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007452/9.238, allocations: 26.16 kB / 3.246 GB, free: 155 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/9.241, allocations: 150.1 kB / 3.246 GB, free: 155 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/9.241, allocations: 66.27 kB / 3.246 GB, free: 155 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/9.241, allocations: 39.19 kB / 3.246 GB, free: 155 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004362/9.246, allocations: 1.91 MB / 3.248 GB, free: 154.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.92e-07/9.246, allocations: 3.938 kB / 3.248 GB, free: 154.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007321/9.253, allocations: 1.446 MB / 3.25 GB, free: 154.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (59): * Single equations (assignments): 51 * 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 40,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002672/9.256, allocations: 1.072 MB / 3.251 GB, free: 154.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00821/9.264, allocations: 2.887 MB / 3.254 GB, free: 154.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/9.264, allocations: 2.906 kB / 3.254 GB, free: 154.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/9.266, allocations: 0.6981 MB / 3.254 GB, free: 154.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/9.276, allocations: 1.213 MB / 3.255 GB, free: 154.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/9.291, allocations: 5.738 MB / 3.261 GB, free: 151.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003075/9.294, allocations: 2.094 MB / 3.263 GB, free: 151 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005229/9.3, allocations: 0.7251 MB / 3.264 GB, free: 151 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009428/9.301, allocations: 188.9 kB / 3.264 GB, free: 151 MB / 0.9792 GB Notification: Performance of SimCode: time 1.342e-06/9.301, allocations: 0.5938 kB / 3.264 GB, free: 151 MB / 0.9792 GB Notification: Performance of Templates: time 0.1758/9.476, allocations: 55.26 MB / 3.318 GB, free: 148.9 MB / 0.9792 GB