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.203/2.203, allocations: 252.6 MB / 265.2 MB, free: 5.648 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.001545/0.001544, allocations: 177.3 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001134/0.001134, allocations: 109.5 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.556e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2188, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.944/2.163, allocations: 388.9 MB / 1.275 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004287/2.164, allocations: 92.47 kB / 1.275 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.7421/2.906, allocations: 229.6 MB / 1.499 GB, free: 67.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.753e-06/2.906, allocations: 3.938 kB / 1.499 GB, free: 67.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.605e-05/2.906, allocations: 23.98 kB / 1.499 GB, free: 67.45 MB / 0.8542 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.0024/2.909, allocations: 0.9617 MB / 1.5 GB, free: 66.45 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/2.909, allocations: 12.03 kB / 1.5 GB, free: 66.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/2.909, allocations: 82.97 kB / 1.5 GB, free: 66.35 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/2.91, allocations: 0.5035 MB / 1.501 GB, free: 65.81 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/2.91, allocations: 37 kB / 1.501 GB, free: 65.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/2.91, allocations: 55.94 kB / 1.501 GB, free: 65.72 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/2.912, allocations: 0.5627 MB / 1.501 GB, free: 65.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/2.912, allocations: 7.922 kB / 1.501 GB, free: 65.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/2.912, allocations: 24 kB / 1.501 GB, free: 65.06 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/2.912, allocations: 12 kB / 1.501 GB, free: 65.05 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000994/2.913, allocations: 398.7 kB / 1.502 GB, free: 64.66 MB / 0.8542 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.004969/2.918, allocations: 3.204 MB / 1.505 GB, free: 61.26 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/2.919, allocations: 292 kB / 1.505 GB, free: 60.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/2.919, allocations: 187.8 kB / 1.505 GB, free: 60.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/2.919, allocations: 352.4 kB / 1.505 GB, free: 60.37 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/2.919, allocations: 34.56 kB / 1.506 GB, free: 60.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=38): time 4.368e-06/2.919, allocations: 4 kB / 1.506 GB, free: 60.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38): time 0.001279/2.921, allocations: 421.5 kB / 1.506 GB, free: 59.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/2.921, allocations: 59.36 kB / 1.506 GB, free: 59.83 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/2.922, allocations: 0.4995 MB / 1.506 GB, free: 59.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/2.922, allocations: 33.7 kB / 1.507 GB, free: 59.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/2.922, allocations: 332.4 kB / 1.507 GB, free: 58.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/2.922, allocations: 134.1 kB / 1.507 GB, free: 58.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/2.922, allocations: 8 kB / 1.507 GB, free: 58.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001195/2.922, allocations: 378.8 kB / 1.507 GB, free: 58.43 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/2.923, allocations: 165.5 kB / 1.507 GB, free: 58.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/2.923, allocations: 345.6 kB / 1.508 GB, free: 57.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/2.924, allocations: 201.5 kB / 1.508 GB, free: 57.66 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/2.924, allocations: 0 / 1.508 GB, free: 57.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001571/2.925, allocations: 0.6132 MB / 1.509 GB, free: 57.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003791/2.926, allocations: 1.749 MB / 1.51 GB, free: 55.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/2.926, allocations: 4 kB / 1.51 GB, free: 55.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008533/2.927, allocations: 136.8 kB / 1.51 GB, free: 55.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/2.928, allocations: 155.8 kB / 1.511 GB, free: 54.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007383/2.929, allocations: 0.6148 MB / 1.511 GB, free: 54.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/2.93, allocations: 111.3 kB / 1.511 GB, free: 54.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/2.93, allocations: 35.92 kB / 1.511 GB, free: 54.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/2.93, allocations: 7.953 kB / 1.511 GB, free: 54.07 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/2.931, allocations: 0.5058 MB / 1.512 GB, free: 53.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/2.931, allocations: 8 kB / 1.512 GB, free: 53.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/2.931, allocations: 8 kB / 1.512 GB, free: 53.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/2.933, allocations: 164.3 kB / 1.512 GB, free: 53.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/2.933, allocations: 15.92 kB / 1.512 GB, free: 53.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/2.934, allocations: 95.47 kB / 1.512 GB, free: 53.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/2.934, allocations: 35.92 kB / 1.512 GB, free: 53.24 MB / 0.8542 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 (70): * Single equations (assignments): 69 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001984/2.934, allocations: 140.8 kB / 1.512 GB, free: 53.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/2.934, allocations: 67.11 kB / 1.512 GB, free: 53.03 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/2.936, allocations: 0.5537 MB / 1.513 GB, free: 52.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/2.936, allocations: 12 kB / 1.513 GB, free: 52.45 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/2.936, allocations: 0 / 1.513 GB, free: 52.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/2.936, allocations: 0 / 1.513 GB, free: 52.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/2.939, allocations: 1.262 MB / 1.514 GB, free: 51.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/2.939, allocations: 0 / 1.514 GB, free: 51.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/2.94, allocations: 91.88 kB / 1.514 GB, free: 51.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005917/2.94, allocations: 124.9 kB / 1.514 GB, free: 50.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/2.94, allocations: 12 kB / 1.514 GB, free: 50.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006959/2.941, allocations: 0.6264 MB / 1.515 GB, free: 50.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.941, allocations: 0 / 1.515 GB, free: 50.24 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/2.942, allocations: 0.6472 MB / 1.516 GB, free: 49.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/2.943, allocations: 200 kB / 1.516 GB, free: 49.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/2.943, allocations: 8 kB / 1.516 GB, free: 49.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008515/2.944, allocations: 63.89 kB / 1.516 GB, free: 49.26 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/2.944, allocations: 31.95 kB / 1.516 GB, free: 49.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/2.944, allocations: 16 kB / 1.516 GB, free: 49.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006359/2.945, allocations: 391.2 kB / 1.516 GB, free: 48.83 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.92e-07/2.945, allocations: 0 / 1.516 GB, free: 48.83 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001751/2.947, allocations: 415.4 kB / 1.517 GB, free: 48.43 MB / 0.8542 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.001053/2.948, allocations: 433.6 kB / 1.517 GB, free: 48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00221/2.95, allocations: 0.7682 MB / 1.518 GB, free: 47.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/2.95, allocations: 0 / 1.518 GB, free: 47.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007978/2.951, allocations: 239.8 kB / 1.518 GB, free: 47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/2.953, allocations: 271.2 kB / 1.518 GB, free: 46.74 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/2.955, allocations: 0.7414 MB / 1.519 GB, free: 45.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/2.955, allocations: 0.9208 MB / 1.52 GB, free: 45.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001286/2.957, allocations: 180.8 kB / 1.52 GB, free: 44.83 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/2.957, allocations: 55.42 kB / 1.52 GB, free: 44.77 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/2.957, allocations: 0 / 1.52 GB, free: 44.77 MB / 0.8542 GB Notification: Performance of Templates: time 0.03613/2.993, allocations: 14.22 MB / 1.534 GB, free: 30.68 MB / 0.8542 GB