Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.00141, allocations: 186.4 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6753/0.6753, allocations: 82.93 MB / 99.42 MB, free: 3.203 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.353/2.353, allocations: 205.4 MB / 325.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 90.84 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004448, allocations: 12 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08994, allocations: 67.45 MB / 0.5263 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.0368/0.1268, allocations: 24.86 MB / 0.5506 GB, free: 6.125 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02137/0.1482, allocations: 11.12 MB / 0.5615 GB, free: 10.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.1497, allocations: 35.75 kB / 0.5615 GB, free: 10.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.1521, allocations: 0.5754 MB / 0.5621 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.1573, allocations: 1.339 MB / 0.5634 GB, free: 9.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00868/0.166, allocations: 2.265 MB / 0.5656 GB, free: 6.785 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004647/0.1707, allocations: 2.208 MB / 0.5677 GB, free: 4.574 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.1727, allocations: 0.9923 MB / 0.5687 GB, free: 3.562 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.1752, allocations: 1.004 MB / 0.5697 GB, free: 2.555 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.1768, allocations: 0.7 MB / 0.5704 GB, free: 1.852 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.1771, allocations: 55.98 kB / 0.5704 GB, free: 1.797 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.1797, allocations: 0.7256 MB / 0.5711 GB, free: 1.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005938/0.1803, allocations: 302.8 kB / 0.5714 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.181, allocations: 317 kB / 0.5717 GB, free: 468 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.1842, allocations: 1.738 MB / 0.5734 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.388e-06/0.1842, allocations: 0 / 0.5734 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.628e-06/0.1842, allocations: 3.984 kB / 0.5734 GB, free: 14.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.1843, allocations: 0 / 0.5734 GB, free: 14.71 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003984/0.1883, allocations: 1.686 MB / 0.5751 GB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1883, allocations: 8.031 kB / 0.5751 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.1898, allocations: 257.9 kB / 0.5753 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.1931, allocations: 1.25 MB / 0.5766 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.1932, allocations: 70 kB / 0.5766 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.1934, allocations: 87.98 kB / 0.5767 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.196, allocations: 1.008 MB / 0.5777 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.1961, allocations: 0 / 0.5777 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.1962, allocations: 32 kB / 0.5777 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.1963, allocations: 20 kB / 0.5777 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.1987, allocations: 0.7766 MB / 0.5785 GB, free: 9.359 MB / 426.7 MB 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.009332/0.2081, allocations: 5.019 MB / 0.5834 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.2101, allocations: 0.6262 MB / 0.584 GB, free: 3.387 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004218/0.2144, allocations: 1.882 MB / 0.5859 GB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.2155, allocations: 367 kB / 0.5862 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006435/0.2162, allocations: 103.4 kB / 0.5863 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 4.149e-06/0.2162, allocations: 4 kB / 0.5863 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.3022/0.5184, allocations: 1.344 MB / 0.5876 GB, free: 63.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.5185, allocations: 58.33 kB / 0.5877 GB, free: 63.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/0.5212, allocations: 1.324 MB / 0.589 GB, free: 62.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.5213, allocations: 40.58 kB / 0.589 GB, free: 62.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007356/0.5221, allocations: 0.6462 MB / 0.5896 GB, free: 62.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.5223, allocations: 151.3 kB / 0.5898 GB, free: 62.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.5224, allocations: 15 kB / 0.5898 GB, free: 62.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.5225, allocations: 333.6 kB / 0.5901 GB, free: 62.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009671/0.5235, allocations: 261 kB / 0.5904 GB, free: 62.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.5247, allocations: 0.6155 MB / 0.591 GB, free: 61.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.5257, allocations: 376.6 kB / 0.5913 GB, free: 61.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.825e-06/0.5258, allocations: 4.031 kB / 0.5913 GB, free: 61.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003586/0.5294, allocations: 1.13 MB / 0.5924 GB, free: 61.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006562/0.5301, allocations: 3.136 MB / 0.5955 GB, free: 57.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.5301, allocations: 9.031 kB / 0.5955 GB, free: 57.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.5312, allocations: 218.2 kB / 0.5957 GB, free: 57.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008457/0.5321, allocations: 164.4 kB / 0.5959 GB, free: 57.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.5332, allocations: 0.8602 MB / 0.5967 GB, free: 57.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.5348, allocations: 98.17 kB / 0.5968 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.535, allocations: 42.89 kB / 0.5968 GB, free: 57.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.535, allocations: 3.594 kB / 0.5968 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002305/0.5373, allocations: 0.8601 MB / 0.5977 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.5374, allocations: 8.969 kB / 0.5977 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/0.538, allocations: 142.4 kB / 0.5978 GB, free: 56.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.5386, allocations: 136.4 kB / 0.598 GB, free: 56.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.5418, allocations: 2.384 MB / 0.6003 GB, free: 55.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.5432, allocations: 92.45 kB / 0.6004 GB, free: 55.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.5434, allocations: 35.27 kB / 0.6004 GB, free: 55.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008882/0.5443, allocations: 477.6 kB / 0.6009 GB, free: 54.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.5446, allocations: 131.8 kB / 0.601 GB, free: 54.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.5473, allocations: 0.9301 MB / 0.6019 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.5474, allocations: 10.23 kB / 0.6019 GB, free: 54.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.689e-06/0.5474, allocations: 0 / 0.6019 GB, free: 54.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002042/0.5495, allocations: 0.9344 MB / 0.6028 GB, free: 53.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004622/0.5541, allocations: 1.964 MB / 0.6047 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.824e-06/0.5542, allocations: 1.031 kB / 0.6047 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.5548, allocations: 89.94 kB / 0.6048 GB, free: 52.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/0.5553, allocations: 149.6 kB / 0.605 GB, free: 52.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.5553, allocations: 17.17 kB / 0.605 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008781/0.5562, allocations: 0.8161 MB / 0.6058 GB, free: 52.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.305e-06/0.5562, allocations: 1.219 kB / 0.6058 GB, free: 52.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.5597, allocations: 1.31 MB / 0.6071 GB, free: 51.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007217/0.5604, allocations: 287.9 kB / 0.6073 GB, free: 51.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.5606, allocations: 16.25 kB / 0.6073 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/0.5616, allocations: 85.55 kB / 0.6074 GB, free: 51.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.5618, allocations: 40.17 kB / 0.6075 GB, free: 51.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.5619, allocations: 23.64 kB / 0.6075 GB, free: 51.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001882/0.5638, allocations: 0.9208 MB / 0.6084 GB, free: 50.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.267e-06/0.5638, allocations: 0 / 0.6084 GB, free: 50.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002742/0.5666, allocations: 0.6821 MB / 0.6091 GB, free: 50.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.5677, allocations: 374.4 kB / 0.6094 GB, free: 50.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004051/0.5717, allocations: 1.405 MB / 0.6108 GB, free: 50.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.05e-06/0.5718, allocations: 0 / 0.6108 GB, free: 50.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.573, allocations: 347.5 kB / 0.6111 GB, free: 50.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/0.5763, allocations: 0.5845 MB / 0.6117 GB, free: 49.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.5814, allocations: 2.718 MB / 0.6143 GB, free: 48.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/0.5823, allocations: 1.295 MB / 0.6156 GB, free: 47.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00175/0.5841, allocations: 311.2 kB / 0.6159 GB, free: 47.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.5845, allocations: 108.5 kB / 0.616 GB, free: 47.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.667e-06/0.5845, allocations: 0 / 0.616 GB, free: 47.57 MB / 426.7 MB Notification: Performance of Templates: time 0.05314/0.6376, allocations: 25.44 MB / 0.6408 GB, free: 26.34 MB / 426.7 MB