Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 253.1 MB / 260.6 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00211/0.00211, allocations: 184.8 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.6 MB / 0.5708 GB, free: 15.17 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001216, allocations: 90.7 kB / 0.6751 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.142e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2127, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.924/2.136, allocations: 389.2 MB / 1.269 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004156/2.137, allocations: 93.25 kB / 1.269 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8705/3.007, allocations: 227.8 MB / 1.491 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.617e-06/3.007, allocations: 4 kB / 1.491 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.01e-05/3.008, allocations: 27.92 kB / 1.491 GB, free: 107.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00234/3.01, allocations: 0.9581 MB / 1.492 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/3.01, allocations: 8.031 kB / 1.492 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/3.01, allocations: 86.97 kB / 1.492 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/3.011, allocations: 0.4999 MB / 1.493 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/3.011, allocations: 16 kB / 1.493 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/3.012, allocations: 36 kB / 1.493 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009387/3.012, allocations: 358.5 kB / 1.493 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/3.013, allocations: 0.5055 MB / 1.494 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/3.013, allocations: 0 / 1.494 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/3.014, allocations: 4 kB / 1.494 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/3.014, allocations: 12 kB / 1.494 GB, free: 104.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004612/3.018, allocations: 3.113 MB / 1.497 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/3.019, allocations: 279.4 kB / 1.497 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/3.019, allocations: 176.8 kB / 1.497 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/3.02, allocations: 348.4 kB / 1.497 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/3.02, allocations: 42.56 kB / 1.498 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=38): time 4.278e-06/3.02, allocations: 0 / 1.498 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.003497/3.023, allocations: 0.6655 MB / 1.498 GB, free: 99.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/3.023, allocations: 55.41 kB / 1.498 GB, free: 99.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/3.024, allocations: 430.4 kB / 1.499 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/3.024, allocations: 29.7 kB / 1.499 GB, free: 99.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/3.024, allocations: 340.1 kB / 1.499 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/3.024, allocations: 118.2 kB / 1.499 GB, free: 98.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/3.024, allocations: 0 / 1.499 GB, free: 98.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001092/3.025, allocations: 366.8 kB / 1.499 GB, free: 98.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/3.025, allocations: 149.1 kB / 1.5 GB, free: 98.32 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/3.025, allocations: 330.2 kB / 1.5 GB, free: 97.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/3.028, allocations: 440.4 kB / 1.5 GB, free: 97.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/3.028, allocations: 0 / 1.5 GB, free: 97.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003482/3.031, allocations: 0.7846 MB / 1.501 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004043/3.032, allocations: 1.752 MB / 1.503 GB, free: 94.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/3.032, allocations: 4 kB / 1.503 GB, free: 94.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/3.033, allocations: 104.8 kB / 1.503 GB, free: 94.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009935/3.034, allocations: 139.8 kB / 1.503 GB, free: 94.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/3.035, allocations: 0.7045 MB / 1.504 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/3.036, allocations: 99.33 kB / 1.504 GB, free: 93.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/3.036, allocations: 27.98 kB / 1.504 GB, free: 93.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/3.036, allocations: 9.344 kB / 1.504 GB, free: 93.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003155/3.04, allocations: 0.6736 MB / 1.505 GB, free: 93.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/3.04, allocations: 4 kB / 1.505 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/3.04, allocations: 8 kB / 1.505 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/3.041, allocations: 156.3 kB / 1.505 GB, free: 92.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/3.041, allocations: 12 kB / 1.505 GB, free: 92.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/3.042, allocations: 75.62 kB / 1.505 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/3.042, allocations: 31.92 kB / 1.505 GB, free: 92.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000192/3.042, allocations: 116.8 kB / 1.505 GB, free: 92.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/3.042, allocations: 63.3 kB / 1.505 GB, free: 92.56 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/3.046, allocations: 0.7602 MB / 1.506 GB, free: 91.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/3.046, allocations: 4 kB / 1.506 GB, free: 91.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/3.046, allocations: 3.984 kB / 1.506 GB, free: 91.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/3.046, allocations: 4 kB / 1.506 GB, free: 91.78 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/3.051, allocations: 1.419 MB / 1.507 GB, free: 90.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/3.051, allocations: 0 / 1.507 GB, free: 90.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/3.052, allocations: 87.88 kB / 1.507 GB, free: 90.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/3.052, allocations: 116.8 kB / 1.507 GB, free: 90.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/3.052, allocations: 11.98 kB / 1.507 GB, free: 90.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/3.054, allocations: 0.6928 MB / 1.508 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/3.054, allocations: 0 / 1.508 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/3.057, allocations: 0.8579 MB / 1.509 GB, free: 88.46 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/3.057, allocations: 196 kB / 1.509 GB, free: 88.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/3.057, allocations: 4 kB / 1.509 GB, free: 88.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008193/3.058, allocations: 59.89 kB / 1.509 GB, free: 88.19 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/3.058, allocations: 23.97 kB / 1.509 GB, free: 88.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/3.058, allocations: 19.98 kB / 1.509 GB, free: 88.15 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004926/3.059, allocations: 318.9 kB / 1.509 GB, free: 87.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/3.059, allocations: 0 / 1.509 GB, free: 87.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001771/3.061, allocations: 395.2 kB / 1.51 GB, free: 87.45 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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: 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/3.062, allocations: 431 kB / 1.51 GB, free: 87.03 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002211/3.064, allocations: 0.7042 MB / 1.511 GB, free: 86.33 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/3.064, allocations: 4 kB / 1.511 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007307/3.065, allocations: 235.9 kB / 1.511 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/3.067, allocations: 236.6 kB / 1.511 GB, free: 85.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/3.069, allocations: 0.7163 MB / 1.512 GB, free: 85.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/3.069, allocations: 0.9205 MB / 1.513 GB, free: 84.17 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001182/3.071, allocations: 160.7 kB / 1.513 GB, free: 84.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/3.071, allocations: 51.42 kB / 1.513 GB, free: 83.96 MB / 0.8698 GB Notification: Performance of SimCode: time 1.002e-06/3.071, allocations: 4 kB / 1.513 GB, free: 83.96 MB / 0.8698 GB Notification: Performance of Templates: time 0.03209/3.103, allocations: 12.24 MB / 1.525 GB, free: 71.86 MB / 0.8698 GB