Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002589/0.002594, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.403/1.403, allocations: 165.8 MB / 183.1 MB, free: 5.473 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.629/3.629, allocations: 410.8 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001775/0.001774, allocations: 194 kB / 0.6668 GB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004556, allocations: 12 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4021, allocations: 67.45 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.298/1.7, allocations: 381.9 MB / 1.182 GB, free: 151.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.7, allocations: 110.9 kB / 1.182 GB, free: 151.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 11.6/13.3, allocations: 2.26 GB / 3.442 GB, free: 54.19 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.094e-06/13.3, allocations: 3.906 kB / 3.442 GB, free: 54.19 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.001715/13.3, allocations: 252.5 kB / 3.443 GB, free: 54.14 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.05357/13.36, allocations: 9.477 MB / 3.452 GB, free: 50.81 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/13.36, allocations: 8.312 kB / 3.452 GB, free: 50.81 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/13.37, allocations: 1.23 MB / 3.453 GB, free: 50.31 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04345/13.41, allocations: 11.92 MB / 3.465 GB, free: 48.92 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006817/13.41, allocations: 437.9 kB / 3.465 GB, free: 48.91 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00365/13.42, allocations: 0.5871 MB / 3.466 GB, free: 48.89 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03967/13.45, allocations: 13.69 MB / 3.479 GB, free: 48.08 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003341/13.46, allocations: 17.53 kB / 3.479 GB, free: 48.07 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003235/13.46, allocations: 243.7 kB / 3.479 GB, free: 48.07 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/13.46, allocations: 136.4 kB / 3.479 GB, free: 48.07 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04289/13.5, allocations: 18.34 MB / 3.497 GB, free: 48.03 MB / 0.6199 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.1337/13.64, allocations: 55.15 MB / 3.551 GB, free: 29.36 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01933/13.65, allocations: 8.845 MB / 3.56 GB, free: 29.28 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01933/13.67, allocations: 9.375 MB / 3.569 GB, free: 29.02 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07257/13.75, allocations: 26.16 MB / 3.594 GB, free: 21.82 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01694/13.76, allocations: 7.419 MB / 3.602 GB, free: 21.03 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09089/13.85, allocations: 21.13 MB / 3.622 GB, free: 18.18 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=301): time 2.678e-05/13.85, allocations: 4 kB / 3.622 GB, free: 18.17 MB / 0.6199 GB Notification: Performance of matching and sorting (n=301): time 0.079/13.93, allocations: 22.91 MB / 3.645 GB, free: 7.098 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/13.93, allocations: 89.16 kB / 3.645 GB, free: 7 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01614/13.95, allocations: 7.802 MB / 3.652 GB, free: 0.6836 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.002369/13.95, allocations: 97.7 kB / 3.653 GB, free: 0.582 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.01306/13.97, allocations: 4.414 MB / 3.657 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003572/13.97, allocations: 1.083 MB / 3.658 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/13.97, allocations: 88 kB / 3.658 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0004271/13.97, allocations: 492.5 kB / 3.658 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01609/13.99, allocations: 6.191 MB / 3.664 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01824/14.01, allocations: 8.023 MB / 3.672 GB, free: 268 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5007/14.51, allocations: 7.159 MB / 3.679 GB, free: 63.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.545e-05/14.51, allocations: 12.44 kB / 3.679 GB, free: 63.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0517/14.56, allocations: 16.68 MB / 3.696 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000997/14.56, allocations: 1.553 MB / 3.697 GB, free: 61.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.166e-05/14.56, allocations: 47.88 kB / 3.697 GB, free: 61.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1329/14.69, allocations: 11.04 MB / 3.708 GB, free: 61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01606/14.71, allocations: 1.609 MB / 3.71 GB, free: 61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/14.72, allocations: 6.316 MB / 3.716 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01813/14.74, allocations: 0.5717 MB / 3.716 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003074/14.74, allocations: 0.5439 MB / 3.717 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/14.74, allocations: 6.781 kB / 3.717 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04426/14.79, allocations: 15.92 MB / 3.732 GB, free: 57.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001616/14.79, allocations: 48.03 kB / 3.732 GB, free: 57.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1299/14.92, allocations: 10.62 MB / 3.743 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01585/14.93, allocations: 1.603 MB / 3.744 GB, free: 57.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/14.96, allocations: 10.23 MB / 3.754 GB, free: 52.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01733/14.97, allocations: 0.5528 MB / 3.755 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/14.98, allocations: 0.5354 MB / 3.755 GB, free: 52.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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 (526): * Single equations (assignments): 520 * 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: 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,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.009409/14.99, allocations: 2.637 MB / 3.758 GB, free: 52.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003565/14.99, allocations: 0.7541 MB / 3.759 GB, free: 52.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.044/15.03, allocations: 13.66 MB / 3.772 GB, free: 51.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-05/15.03, allocations: 43.38 kB / 3.772 GB, free: 51.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/15.03, allocations: 0 / 3.772 GB, free: 51.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02495/15.06, allocations: 10.25 MB / 3.782 GB, free: 51.27 MB / 0.6355 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.05522/15.11, allocations: 23.79 MB / 3.805 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/15.11, allocations: 7.438 kB / 3.805 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01007/15.12, allocations: 0.6977 MB / 3.806 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1266/15.25, allocations: 9.934 MB / 3.816 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001372/15.25, allocations: 107.2 kB / 3.816 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007119/15.26, allocations: 4.309 MB / 3.82 GB, free: 44.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/15.26, allocations: 0 / 3.82 GB, free: 44.44 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04427/15.3, allocations: 18.43 MB / 3.838 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007806/15.31, allocations: 1.905 MB / 3.84 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003448/15.31, allocations: 72.38 kB / 3.84 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01254/15.33, allocations: 407.7 kB / 3.84 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001632/15.33, allocations: 216.5 kB / 3.841 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001021/15.33, allocations: 157.3 kB / 3.841 GB, free: 39.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.01348/15.34, allocations: 5.335 MB / 3.846 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.31e-07/15.34, allocations: 0 / 3.846 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02798/15.37, allocations: 4.87 MB / 3.851 GB, free: 36.06 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,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 (305): * Single equations (assignments): 295 * 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,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004104/15.38, allocations: 1.26 MB / 3.852 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.05896/15.43, allocations: 23.58 MB / 3.875 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/15.43, allocations: 0 / 3.875 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01438/15.45, allocations: 6.2 MB / 3.881 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03876/15.49, allocations: 4.66 MB / 3.885 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05103/15.54, allocations: 22.28 MB / 3.907 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5074/16.05, allocations: 5.817 MB / 3.913 GB, free: 65.74 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.03392/16.08, allocations: 4.98 MB / 3.918 GB, free: 65.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00855/16.09, allocations: 0.9072 MB / 3.919 GB, free: 65.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/16.09, allocations: 0 / 3.919 GB, free: 65.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.4637/16.55, allocations: 216.8 MB / 4.13 GB, free: 14.41 MB / 0.6824 GB