Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002232/0.002232, allocations: 186.6 kB / 15.77 MB, free: 6.031 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.8278/0.8278, allocations: 82.92 MB / 99.42 MB, free: 3.316 MB / 74.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 325.4 MB, free: 3.699 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.001046/0.001046, allocations: 104.8 kB / 393.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004507, allocations: 12 kB / 471.5 MB, free: 66.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.08942, allocations: 67.45 MB / 0.5263 GB, free: 15.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.04179/0.1312, allocations: 27.47 MB / 0.5532 GB, free: 3.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02311/0.1544, allocations: 11.59 MB / 0.5645 GB, free: 7.973 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.156, allocations: 39.75 kB / 0.5645 GB, free: 7.934 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.1583, allocations: 0.6065 MB / 0.5651 GB, free: 7.324 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.1638, allocations: 1.457 MB / 0.5665 GB, free: 5.863 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008551/0.1723, allocations: 2.273 MB / 0.5688 GB, free: 3.605 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005602/0.178, allocations: 2.829 MB / 0.5715 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003029/0.181, allocations: 1.604 MB / 0.5731 GB, free: 15.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.1845, allocations: 1.327 MB / 0.5744 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.1867, allocations: 0.9177 MB / 0.5753 GB, free: 12.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000433/0.1871, allocations: 68 kB / 0.5754 GB, free: 12.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.1901, allocations: 0.7686 MB / 0.5761 GB, free: 12.05 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008029/0.1909, allocations: 354.6 kB / 0.5764 GB, free: 11.71 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008385/0.1918, allocations: 404.6 kB / 0.5768 GB, free: 11.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.1959, allocations: 2.1 MB / 0.5789 GB, free: 9.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.525e-06/0.1959, allocations: 0 / 0.5789 GB, free: 9.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1959, allocations: 3.938 kB / 0.5789 GB, free: 9.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.305e-05/0.196, allocations: 0 / 0.5789 GB, free: 9.195 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004882/0.2009, allocations: 2.076 MB / 0.5809 GB, free: 7.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2009, allocations: 12.03 kB / 0.5809 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.2026, allocations: 305.2 kB / 0.5812 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.2068, allocations: 1.571 MB / 0.5827 GB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.207, allocations: 81.95 kB / 0.5828 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.2073, allocations: 104 kB / 0.5829 GB, free: 4.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.2106, allocations: 1.318 MB / 0.5842 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.2107, allocations: 3.938 kB / 0.5842 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.2109, allocations: 40 kB / 0.5843 GB, free: 3.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.2109, allocations: 24 kB / 0.5843 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.214, allocations: 1.042 MB / 0.5853 GB, free: 2.441 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.3885/0.6026, allocations: 6.924 MB / 0.5921 GB, free: 58.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.6064, allocations: 0.6689 MB / 0.5927 GB, free: 58.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006847/0.6133, allocations: 1.872 MB / 0.5945 GB, free: 57.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002057/0.6154, allocations: 395.6 kB / 0.5949 GB, free: 57.37 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001313/0.6168, allocations: 104.3 kB / 0.595 GB, free: 57.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 6.716e-06/0.6168, allocations: 1.031 kB / 0.595 GB, free: 57.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.01039/0.6272, allocations: 1.51 MB / 0.5965 GB, free: 56.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.6273, allocations: 57.48 kB / 0.5965 GB, free: 56.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006282/0.6336, allocations: 1.863 MB / 0.5984 GB, free: 56.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.6339, allocations: 48.72 kB / 0.5984 GB, free: 56.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.6354, allocations: 0.851 MB / 0.5992 GB, free: 55.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.6358, allocations: 161.2 kB / 0.5994 GB, free: 55.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.636, allocations: 16.59 kB / 0.5994 GB, free: 55.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6362, allocations: 335.6 kB / 0.5997 GB, free: 55.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.6383, allocations: 317.6 kB / 0.6 GB, free: 54.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.6404, allocations: 0.7675 MB / 0.6008 GB, free: 54.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.6415, allocations: 448.5 kB / 0.6012 GB, free: 54.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.6415, allocations: 3.531 kB / 0.6012 GB, free: 54.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004087/0.6456, allocations: 1.327 MB / 0.6025 GB, free: 53.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008443/0.6465, allocations: 4.228 MB / 0.6066 GB, free: 49.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.6465, allocations: 9.844 kB / 0.6066 GB, free: 49.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.6476, allocations: 231.3 kB / 0.6069 GB, free: 49.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/0.6486, allocations: 177.2 kB / 0.607 GB, free: 49.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000943/0.6496, allocations: 0.8366 MB / 0.6079 GB, free: 48.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.6514, allocations: 125.6 kB / 0.608 GB, free: 48.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.6516, allocations: 48.44 kB / 0.608 GB, free: 48.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6516, allocations: 4.5 kB / 0.608 GB, free: 48.4 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002585/0.6542, allocations: 1.019 MB / 0.609 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.6543, allocations: 10.59 kB / 0.609 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.6549, allocations: 164.8 kB / 0.6092 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.6556, allocations: 165.4 kB / 0.6093 GB, free: 47.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.659, allocations: 2.394 MB / 0.6117 GB, free: 46.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.6609, allocations: 113.1 kB / 0.6118 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.6611, allocations: 47.7 kB / 0.6118 GB, free: 46.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.6622, allocations: 0.5807 MB / 0.6124 GB, free: 45.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.6626, allocations: 171.6 kB / 0.6126 GB, free: 45.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.6656, allocations: 1.072 MB / 0.6136 GB, free: 45.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.6657, allocations: 5.5 kB / 0.6136 GB, free: 45.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.552e-06/0.6657, allocations: 0 / 0.6136 GB, free: 45.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002181/0.6679, allocations: 1.006 MB / 0.6146 GB, free: 44.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.6734, allocations: 2.309 MB / 0.6169 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.143e-06/0.6734, allocations: 0 / 0.6169 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/0.674, allocations: 91.28 kB / 0.6169 GB, free: 43.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.6745, allocations: 149.3 kB / 0.6171 GB, free: 43.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.6746, allocations: 17.56 kB / 0.6171 GB, free: 43.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007609/0.6754, allocations: 0.8033 MB / 0.6179 GB, free: 42.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.263e-06/0.6754, allocations: 0.7188 kB / 0.6179 GB, free: 42.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.679, allocations: 1.499 MB / 0.6194 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008754/0.68, allocations: 348.5 kB / 0.6197 GB, free: 41.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.6802, allocations: 12.19 kB / 0.6197 GB, free: 41.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6815, allocations: 99.98 kB / 0.6198 GB, free: 41.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.6817, allocations: 42.5 kB / 0.6198 GB, free: 41.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/0.6818, allocations: 26.42 kB / 0.6199 GB, free: 41.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002479/0.6842, allocations: 1.285 MB / 0.6211 GB, free: 40.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.146e-06/0.6843, allocations: 0 / 0.6211 GB, free: 40.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003162/0.6875, allocations: 0.8496 MB / 0.6219 GB, free: 40.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000997/0.6885, allocations: 375.2 kB / 0.6223 GB, free: 40.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003816/0.6923, allocations: 1.516 MB / 0.6238 GB, free: 39.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.786e-06/0.6924, allocations: 0 / 0.6238 GB, free: 39.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.6935, allocations: 372.5 kB / 0.6241 GB, free: 39.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/0.6983, allocations: 0.8324 MB / 0.6249 GB, free: 38.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.7048, allocations: 3.452 MB / 0.6283 GB, free: 36.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.706, allocations: 1.524 MB / 0.6298 GB, free: 35.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002418/0.7085, allocations: 446.2 kB / 0.6302 GB, free: 35.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.709, allocations: 132.7 kB / 0.6304 GB, free: 35.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.717e-06/0.709, allocations: 4 kB / 0.6304 GB, free: 35.38 MB / 426.7 MB Notification: Performance of Templates: time 0.06583/0.7748, allocations: 32.38 MB / 0.662 GB, free: 3.301 MB / 426.7 MB