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.002395/0.002399, allocations: 353.3 kB / 15.94 MB, free: 6.211 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.369/1.369, allocations: 165.8 MB / 182.5 MB, free: 5.461 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.655/3.655, allocations: 410.8 MB / 0.5995 GB, free: 15.16 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.001708/0.001707, allocations: 198.4 kB / 0.6662 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004498, allocations: 16 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3195, allocations: 67.44 MB / 0.8081 GB, free: 28.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02641/0.3459, allocations: 27.22 MB / 0.8347 GB, free: 1.344 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0208/0.3668, allocations: 11.6 MB / 0.846 GB, free: 5.727 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.3683, allocations: 47.69 kB / 0.8461 GB, free: 5.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.3704, allocations: 0.5164 MB / 0.8466 GB, free: 5.16 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.3754, allocations: 1.428 MB / 0.848 GB, free: 3.727 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008272/0.3837, allocations: 2.317 MB / 0.8503 GB, free: 1.434 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006391/0.3901, allocations: 4.278 MB / 0.8544 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.3921, allocations: 0.9882 MB / 0.8554 GB, free: 12.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.3946, allocations: 1.163 MB / 0.8565 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.3963, allocations: 0.9917 MB / 0.8575 GB, free: 9.965 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.3965, allocations: 52 kB / 0.8576 GB, free: 9.914 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.3986, allocations: 0.6941 MB / 0.8582 GB, free: 9.219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004589/0.3991, allocations: 318.7 kB / 0.8585 GB, free: 8.906 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.3996, allocations: 316.9 kB / 0.8588 GB, free: 8.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.4022, allocations: 1.754 MB / 0.8605 GB, free: 6.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.255e-06/0.4022, allocations: 0 / 0.8605 GB, free: 6.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.1e-06/0.4022, allocations: 0 / 0.8605 GB, free: 6.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.4022, allocations: 0 / 0.8605 GB, free: 6.832 MB / 410.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.003595/0.4058, allocations: 1.693 MB / 0.8622 GB, free: 5.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4059, allocations: 8.031 kB / 0.8622 GB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.4072, allocations: 261.8 kB / 0.8625 GB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/0.4105, allocations: 1.269 MB / 0.8637 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.444e-05/0.4106, allocations: 62 kB / 0.8638 GB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.4108, allocations: 88 kB / 0.8638 GB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.4132, allocations: 1.023 MB / 0.8648 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.4133, allocations: 0 / 0.8648 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.4134, allocations: 40 kB / 0.8649 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.4134, allocations: 16 kB / 0.8649 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.4158, allocations: 0.7883 MB / 0.8657 GB, free: 1.426 MB / 410.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.008621/0.4244, allocations: 5.14 MB / 0.8707 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.4264, allocations: 0.6489 MB / 0.8713 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.4274, allocations: 356.5 kB / 0.8717 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003321/0.4308, allocations: 1.685 MB / 0.8733 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.4319, allocations: 383 kB / 0.8737 GB, free: 8.707 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005757/0.4325, allocations: 95.47 kB / 0.8738 GB, free: 8.613 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.362e-06/0.4325, allocations: 4 kB / 0.8738 GB, free: 8.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.005132/0.4376, allocations: 1.383 MB / 0.8751 GB, free: 7.195 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.4377, allocations: 55.41 kB / 0.8752 GB, free: 7.129 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.44, allocations: 1.321 MB / 0.8765 GB, free: 5.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.4402, allocations: 37.7 kB / 0.8765 GB, free: 5.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/0.441, allocations: 0.6411 MB / 0.8771 GB, free: 5.102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.4412, allocations: 153.8 kB / 0.8773 GB, free: 4.949 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.4412, allocations: 16 kB / 0.8773 GB, free: 4.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4414, allocations: 337.9 kB / 0.8776 GB, free: 4.598 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008982/0.4423, allocations: 265.8 kB / 0.8779 GB, free: 4.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.4436, allocations: 0.6208 MB / 0.8785 GB, free: 3.562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.4446, allocations: 390.2 kB / 0.8788 GB, free: 3.172 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.4447, allocations: 4 kB / 0.8788 GB, free: 3.168 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003486/0.4482, allocations: 1.129 MB / 0.8799 GB, free: 2.023 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.4485, allocations: 355.4 kB / 0.8803 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.4485, allocations: 8 kB / 0.8803 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.4496, allocations: 224.6 kB / 0.8805 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007934/0.4504, allocations: 155.7 kB / 0.8806 GB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.4517, allocations: 0.8604 MB / 0.8815 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4531, allocations: 96.48 kB / 0.8816 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.4532, allocations: 43.98 kB / 0.8816 GB, free: 156 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.4532, allocations: 4 kB / 0.8816 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002279/0.4555, allocations: 0.8673 MB / 0.8825 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4556, allocations: 8.5 kB / 0.8825 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/0.4561, allocations: 148.7 kB / 0.8826 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.4567, allocations: 131.8 kB / 0.8827 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.4603, allocations: 2.334 MB / 0.885 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4616, allocations: 92.42 kB / 0.8851 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/0.4617, allocations: 32 kB / 0.8851 GB, free: 12.38 MB / 442.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.0009279/0.4626, allocations: 487.2 kB / 0.8856 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.4629, allocations: 126.4 kB / 0.8857 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.4656, allocations: 0.9504 MB / 0.8867 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.4656, allocations: 4 kB / 0.8867 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.64e-06/0.4657, allocations: 4 kB / 0.8867 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002183/0.4678, allocations: 0.9467 MB / 0.8876 GB, free: 9.785 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.004802/0.4727, allocations: 1.994 MB / 0.8895 GB, free: 7.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.706e-06/0.4727, allocations: 0 / 0.8895 GB, free: 7.703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.4733, allocations: 95.88 kB / 0.8896 GB, free: 7.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.4738, allocations: 140.7 kB / 0.8898 GB, free: 7.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.4739, allocations: 15.98 kB / 0.8898 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.4749, allocations: 0.8214 MB / 0.8906 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.158e-06/0.4749, allocations: 4 kB / 0.8906 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/0.4785, allocations: 1.303 MB / 0.8919 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.4792, allocations: 279.3 kB / 0.8921 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.4794, allocations: 15.95 kB / 0.8921 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009922/0.4804, allocations: 79.91 kB / 0.8922 GB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.4805, allocations: 44.39 kB / 0.8923 GB, free: 4.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.4806, allocations: 19.98 kB / 0.8923 GB, free: 4.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001725/0.4823, allocations: 0.901 MB / 0.8932 GB, free: 3.918 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.47e-07/0.4824, allocations: 0 / 0.8932 GB, free: 3.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002502/0.4849, allocations: 0.6784 MB / 0.8938 GB, free: 3.238 MB / 442.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.001036/0.4859, allocations: 359 kB / 0.8942 GB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.49, allocations: 1.425 MB / 0.8956 GB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.323e-06/0.49, allocations: 1.062 kB / 0.8956 GB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.4912, allocations: 362.4 kB / 0.8959 GB, free: 1.082 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/0.4948, allocations: 0.5876 MB / 0.8965 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/0.5002, allocations: 2.716 MB / 0.8991 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.5015, allocations: 1.295 MB / 0.9004 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001643/0.5032, allocations: 310.5 kB / 0.9007 GB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.5035, allocations: 99.41 kB / 0.9008 GB, free: 12.01 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5035, allocations: 0 / 0.9008 GB, free: 12.01 MB / 458.7 MB Notification: Performance of Templates: time 0.05984/0.5634, allocations: 25.18 MB / 0.9254 GB, free: 3.109 MB / 474.7 MB