Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002568/0.002572, allocations: 357.4 kB / 16.58 MB, free: 5.57 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.447/1.447, allocations: 165.8 MB / 183.1 MB, free: 5.496 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.717/3.717, allocations: 410.7 MB / 0.6001 GB, free: 15.17 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.001801/0.001801, allocations: 197.7 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004564, allocations: 12 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4039, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.662, allocations: 362.1 MB / 1.162 GB, free: 157.3 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/1.663, allocations: 95.72 kB / 1.162 GB, free: 157.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5156/2.178, allocations: 166.9 MB / 1.325 GB, free: 43.68 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.864e-06/2.178, allocations: 0 / 1.325 GB, free: 43.68 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.153e-05/2.179, allocations: 15.98 kB / 1.325 GB, free: 43.67 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001661/2.18, allocations: 0.7629 MB / 1.326 GB, free: 42.85 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/2.18, allocations: 8.031 kB / 1.326 GB, free: 42.84 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/2.18, allocations: 47.44 kB / 1.326 GB, free: 42.8 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03447/2.215, allocations: 11.56 MB / 1.338 GB, free: 31.05 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/2.215, allocations: 16.33 kB / 1.338 GB, free: 31.04 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/2.215, allocations: 20 kB / 1.338 GB, free: 31.02 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/2.216, allocations: 184.1 kB / 1.338 GB, free: 30.84 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/2.216, allocations: 0 / 1.338 GB, free: 30.84 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/2.216, allocations: 8 kB / 1.338 GB, free: 30.83 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/2.216, allocations: 4 kB / 1.338 GB, free: 30.82 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/2.216, allocations: 140.2 kB / 1.338 GB, free: 30.69 MB / 0.573 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.001421/2.218, allocations: 0.8334 MB / 1.339 GB, free: 29.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/2.218, allocations: 118.6 kB / 1.339 GB, free: 29.63 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/2.218, allocations: 72.81 kB / 1.339 GB, free: 29.55 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/2.219, allocations: 336.4 kB / 1.339 GB, free: 29.15 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/2.219, allocations: 34.56 kB / 1.339 GB, free: 29.11 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 4.168e-06/2.219, allocations: 0 / 1.339 GB, free: 29.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=12): time 0.0008127/2.219, allocations: 229 kB / 1.339 GB, free: 28.88 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/2.219, allocations: 55.41 kB / 1.34 GB, free: 28.81 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004618/2.22, allocations: 329.7 kB / 1.34 GB, free: 28.48 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/2.22, allocations: 29.7 kB / 1.34 GB, free: 28.45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/2.22, allocations: 188.3 kB / 1.34 GB, free: 28.25 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/2.22, allocations: 43.36 kB / 1.34 GB, free: 28.21 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/2.22, allocations: 0 / 1.34 GB, free: 28.21 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.594e-05/2.22, allocations: 350.8 kB / 1.34 GB, free: 27.86 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/2.22, allocations: 43.97 kB / 1.34 GB, free: 27.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/2.221, allocations: 106.8 kB / 1.341 GB, free: 27.69 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/2.221, allocations: 55.94 kB / 1.341 GB, free: 27.63 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/2.221, allocations: 0 / 1.341 GB, free: 27.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005521/2.222, allocations: 177.2 kB / 1.341 GB, free: 27.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/2.222, allocations: 101.8 kB / 1.341 GB, free: 27.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/2.222, allocations: 0 / 1.341 GB, free: 27.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/2.222, allocations: 4 kB / 1.341 GB, free: 27.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/2.222, allocations: 27.98 kB / 1.341 GB, free: 27.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/2.222, allocations: 3.938 kB / 1.341 GB, free: 27.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/2.222, allocations: 31.81 kB / 1.341 GB, free: 27.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/2.222, allocations: 12 kB / 1.341 GB, free: 27.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/2.222, allocations: 4 kB / 1.341 GB, free: 27.26 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004394/2.223, allocations: 115.9 kB / 1.341 GB, free: 27.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/2.223, allocations: 0 / 1.341 GB, free: 27.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-06/2.223, allocations: 96 / 1.341 GB, free: 27.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/2.223, allocations: 27.98 kB / 1.341 GB, free: 27.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/2.223, allocations: 0 / 1.341 GB, free: 27.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/2.223, allocations: 39.89 kB / 1.341 GB, free: 27.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/2.223, allocations: 7.953 kB / 1.341 GB, free: 27.07 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002579/2.224, allocations: 229 kB / 1.341 GB, free: 26.84 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/2.224, allocations: 35.53 kB / 1.341 GB, free: 26.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/2.224, allocations: 220.7 kB / 1.342 GB, free: 26.58 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/2.225, allocations: 4 kB / 1.342 GB, free: 26.58 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/2.225, allocations: 0 / 1.342 GB, free: 26.58 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/2.225, allocations: 0 / 1.342 GB, free: 26.58 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/2.226, allocations: 0.6169 MB / 1.342 GB, free: 25.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/2.226, allocations: 0 / 1.342 GB, free: 25.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/2.226, allocations: 32.02 kB / 1.342 GB, free: 25.87 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/2.226, allocations: 7.938 kB / 1.342 GB, free: 25.86 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/2.226, allocations: 3.984 kB / 1.342 GB, free: 25.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/2.226, allocations: 15.89 kB / 1.342 GB, free: 25.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.226, allocations: 0 / 1.342 GB, free: 25.84 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/2.227, allocations: 319.1 kB / 1.343 GB, free: 25.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/2.227, allocations: 120.6 kB / 1.343 GB, free: 25.37 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/2.227, allocations: 8 kB / 1.343 GB, free: 25.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/2.227, allocations: 23.97 kB / 1.343 GB, free: 25.34 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/2.227, allocations: 19.88 kB / 1.343 GB, free: 25.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/2.227, allocations: 8 kB / 1.343 GB, free: 25.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002839/2.227, allocations: 235.2 kB / 1.343 GB, free: 25.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.41e-07/2.228, allocations: 0 / 1.343 GB, free: 25.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000839/2.228, allocations: 159.8 kB / 1.343 GB, free: 24.93 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006443/2.229, allocations: 288.5 kB / 1.343 GB, free: 24.64 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007565/2.23, allocations: 195.6 kB / 1.344 GB, free: 24.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.23, allocations: 0 / 1.344 GB, free: 24.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/2.23, allocations: 79.89 kB / 1.344 GB, free: 24.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/2.231, allocations: 141.8 kB / 1.344 GB, free: 24.23 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/2.233, allocations: 0.6793 MB / 1.344 GB, free: 23.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/2.233, allocations: 0.7999 MB / 1.345 GB, free: 22.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004198/2.233, allocations: 67.22 kB / 1.345 GB, free: 22.63 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/2.233, allocations: 31.42 kB / 1.345 GB, free: 22.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.102e-06/2.233, allocations: 0 / 1.345 GB, free: 22.6 MB / 0.573 GB Notification: Performance of Templates: time 0.01745/2.251, allocations: 6.287 MB / 1.351 GB, free: 16.4 MB / 0.573 GB