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 4.626/4.626, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.002427/0.002426, allocations: 354.6 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 3.956/3.956, allocations: 410.7 MB / 1.112 GB, free: 5.906 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.001766/0.001765, allocations: 187.6 kB / 1.225 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004822, allocations: 15.98 kB / 1.348 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.564/0.5645, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06098/0.6255, allocations: 66.82 MB / 1.526 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.6519, allocations: 18.67 MB / 1.544 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.6549, allocations: 79.38 kB / 1.544 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.6581, allocations: 0.9978 MB / 1.545 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.008747/0.6669, allocations: 2.821 MB / 1.548 GB, free: 195 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01898/0.6859, allocations: 3.63 MB / 1.552 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0158/0.7017, allocations: 9.038 MB / 1.56 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.7139, allocations: 5.064 MB / 1.565 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007253/0.7212, allocations: 2.578 MB / 1.568 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.7249, allocations: 2.31 MB / 1.57 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004776/0.7254, allocations: 128 kB / 1.57 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.7284, allocations: 1.01 MB / 1.571 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006483/0.729, allocations: 0.6066 MB / 1.572 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.7299, allocations: 0.6445 MB / 1.572 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.7337, allocations: 3.484 MB / 1.576 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.757e-06/0.7337, allocations: 0 / 1.576 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.295e-06/0.7337, allocations: 0 / 1.576 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.877e-05/0.7338, allocations: 0 / 1.576 GB, free: 166.6 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.007192/0.741, allocations: 3.862 MB / 1.58 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.741, allocations: 8.031 kB / 1.58 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.7434, allocations: 0.5697 MB / 1.58 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/0.749, allocations: 2.462 MB / 1.583 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.7491, allocations: 139.8 kB / 1.583 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/0.7495, allocations: 184 kB / 1.583 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/0.7542, allocations: 2.412 MB / 1.585 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/0.7543, allocations: 3.938 kB / 1.585 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.7545, allocations: 72 kB / 1.585 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.7546, allocations: 40 kB / 1.585 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004612/0.7592, allocations: 2.021 MB / 1.587 GB, free: 154.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.01691/0.7761, allocations: 12.14 MB / 1.599 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/0.7799, allocations: 1.561 MB / 1.601 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.7821, allocations: 1.094 MB / 1.602 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007949/0.7901, allocations: 4.072 MB / 1.606 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001903/0.792, allocations: 0.8872 MB / 1.607 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001911/0.794, allocations: 450.5 kB / 1.607 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=96): time 5.146e-06/0.794, allocations: 0 / 1.607 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=96): time 0.01894/0.8129, allocations: 5.205 MB / 1.612 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.813, allocations: 64.41 kB / 1.612 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/0.8174, allocations: 2.999 MB / 1.615 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.8176, allocations: 53.7 kB / 1.615 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.8189, allocations: 1.427 MB / 1.617 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.8192, allocations: 347.1 kB / 1.617 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.8194, allocations: 28 kB / 1.617 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8195, allocations: 365.9 kB / 1.617 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.8212, allocations: 0.6909 MB / 1.618 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.8233, allocations: 1.497 MB / 1.619 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.8251, allocations: 0.8988 MB / 1.62 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.8251, allocations: 8 kB / 1.62 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007625/0.8328, allocations: 2.937 MB / 1.623 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/0.8331, allocations: 0.5337 MB / 1.624 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.8331, allocations: 16 kB / 1.624 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/0.8366, allocations: 0.7802 MB / 1.624 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.8382, allocations: 313 kB / 1.625 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.8408, allocations: 2.172 MB / 1.627 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/0.8443, allocations: 248.8 kB / 1.627 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.8445, allocations: 79.95 kB / 1.627 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.8445, allocations: 4 kB / 1.627 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005039/0.8496, allocations: 2.298 MB / 1.629 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.8496, allocations: 16 kB / 1.629 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.8515, allocations: 0.5838 MB / 1.63 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.8528, allocations: 281.4 kB / 1.63 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008823/0.8617, allocations: 6.501 MB / 1.637 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.8647, allocations: 232.7 kB / 1.637 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.8649, allocations: 71.97 kB / 1.637 GB, free: 101.8 MB / 0.8542 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 (133): * Single equations (assignments): 129 * 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 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.8664, allocations: 0.8384 MB / 1.638 GB, free: 101 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004392/0.8668, allocations: 292.3 kB / 1.638 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005508/0.8723, allocations: 2.49 MB / 1.64 GB, free: 98.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.8724, allocations: 12 kB / 1.64 GB, free: 98.15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.82e-06/0.8724, allocations: 0 / 1.64 GB, free: 98.15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004303/0.8767, allocations: 2.182 MB / 1.643 GB, free: 95.89 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.009456/0.8862, allocations: 4.714 MB / 1.647 GB, free: 91.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.934e-06/0.8863, allocations: 0 / 1.647 GB, free: 91.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/0.8872, allocations: 165.4 kB / 1.647 GB, free: 90.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.8888, allocations: 0.5283 MB / 1.648 GB, free: 90.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.8889, allocations: 31.92 kB / 1.648 GB, free: 90.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.8911, allocations: 2.103 MB / 1.65 GB, free: 88.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.8911, allocations: 3.938 kB / 1.65 GB, free: 88.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006996/0.8981, allocations: 3.346 MB / 1.653 GB, free: 84.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/0.8996, allocations: 0.548 MB / 1.654 GB, free: 84.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004952/0.9001, allocations: 20.06 kB / 1.654 GB, free: 84.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.9024, allocations: 207.5 kB / 1.654 GB, free: 84.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.9026, allocations: 68.89 kB / 1.654 GB, free: 83.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.9028, allocations: 39.97 kB / 1.654 GB, free: 83.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003329/0.9061, allocations: 2.044 MB / 1.656 GB, free: 81.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.92e-07/0.9061, allocations: 0 / 1.656 GB, free: 81.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004849/0.911, allocations: 1.482 MB / 1.658 GB, free: 80.4 MB / 0.8542 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 (58): * Single equations (assignments): 50 * 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 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.9121, allocations: 436.3 kB / 1.658 GB, free: 79.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0068/0.9189, allocations: 3.248 MB / 1.661 GB, free: 76.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.958e-06/0.919, allocations: 7.938 kB / 1.661 GB, free: 76.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.9209, allocations: 0.8229 MB / 1.662 GB, free: 75.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008557/0.9295, allocations: 1.556 MB / 1.663 GB, free: 74.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.9396, allocations: 5.934 MB / 1.669 GB, free: 68.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.9414, allocations: 2.099 MB / 1.671 GB, free: 66.23 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00382/0.9452, allocations: 0.6659 MB / 1.672 GB, free: 65.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/0.9459, allocations: 203.4 kB / 1.672 GB, free: 65.36 MB / 0.8542 GB Notification: Performance of SimCode: time 1.885e-06/0.9459, allocations: 0 / 1.672 GB, free: 65.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.115/1.061, allocations: 57.38 MB / 1.728 GB, free: 8.895 MB / 0.8542 GB