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.129/2.129, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002176/0.002176, allocations: 181.8 kB / 325.6 MB, free: 2.816 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.34/2.34, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001138/0.001138, allocations: 96.34 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004751, allocations: 11.28 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.434, allocations: 389 MB / 1.279 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/1.435, allocations: 97.44 kB / 1.279 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.459/2.894, allocations: 230.2 MB / 1.504 GB, free: 253.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/2.894, allocations: 0 / 1.504 GB, free: 253.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.684e-05/2.894, allocations: 21.72 kB / 1.504 GB, free: 253.4 MB / 0.8855 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.00275/2.897, allocations: 1.083 MB / 1.505 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/2.897, allocations: 8.031 kB / 1.505 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/2.897, allocations: 90.92 kB / 1.505 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/2.899, allocations: 0.5096 MB / 1.505 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/2.899, allocations: 41 kB / 1.505 GB, free: 251.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/2.899, allocations: 52 kB / 1.505 GB, free: 251.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/2.9, allocations: 0.6222 MB / 1.506 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/2.9, allocations: 7.938 kB / 1.506 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/2.9, allocations: 23.98 kB / 1.506 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/2.9, allocations: 12 kB / 1.506 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/2.902, allocations: 0.4995 MB / 1.507 GB, free: 250.4 MB / 0.8855 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.004875/2.907, allocations: 3.202 MB / 1.51 GB, free: 247 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/2.908, allocations: 346.4 kB / 1.51 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003457/2.908, allocations: 347.5 kB / 1.51 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/2.908, allocations: 38.5 kB / 1.51 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=38): time 3.456e-06/2.908, allocations: 0 / 1.51 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.003355/2.912, allocations: 0.8391 MB / 1.511 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/2.912, allocations: 55.41 kB / 1.511 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007657/2.913, allocations: 0.4994 MB / 1.512 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/2.913, allocations: 41.7 kB / 1.512 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/2.913, allocations: 328.2 kB / 1.512 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/2.913, allocations: 133 kB / 1.512 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/2.913, allocations: 12 kB / 1.512 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001083/2.913, allocations: 370.7 kB / 1.513 GB, free: 243.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/2.914, allocations: 217.2 kB / 1.513 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009406/2.915, allocations: 400.2 kB / 1.513 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/2.916, allocations: 252.7 kB / 1.513 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/2.916, allocations: 4 kB / 1.513 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002294/2.918, allocations: 0.7183 MB / 1.514 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003613/2.919, allocations: 1.744 MB / 1.516 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/2.919, allocations: 4 kB / 1.516 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/2.92, allocations: 148.7 kB / 1.516 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/2.921, allocations: 159.8 kB / 1.516 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008636/2.922, allocations: 0.6304 MB / 1.517 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/2.923, allocations: 111.4 kB / 1.517 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/2.923, allocations: 35.97 kB / 1.517 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/2.923, allocations: 4 kB / 1.517 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001957/2.925, allocations: 0.6075 MB / 1.518 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/2.925, allocations: 4 kB / 1.518 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/2.925, allocations: 15.94 kB / 1.518 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/2.926, allocations: 159.8 kB / 1.518 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/2.926, allocations: 12.25 kB / 1.518 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/2.927, allocations: 95.47 kB / 1.518 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/2.928, allocations: 39.98 kB / 1.518 GB, free: 238.3 MB / 0.8855 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 () * Number of clocked 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.0004231/2.928, allocations: 266 kB / 1.518 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/2.928, allocations: 71.08 kB / 1.518 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/2.93, allocations: 0.6511 MB / 1.519 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/2.93, allocations: 7.953 kB / 1.519 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/2.931, allocations: 7.938 kB / 1.519 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/2.931, allocations: 3.984 kB / 1.519 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/2.934, allocations: 1.371 MB / 1.52 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/2.934, allocations: 3.938 kB / 1.52 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/2.935, allocations: 95.97 kB / 1.52 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006606/2.936, allocations: 128.8 kB / 1.52 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/2.936, allocations: 20 kB / 1.52 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007978/2.936, allocations: 0.6321 MB / 1.521 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.936, allocations: 4.031 kB / 1.521 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/2.939, allocations: 0.7525 MB / 1.522 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/2.939, allocations: 204 kB / 1.522 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/2.939, allocations: 8 kB / 1.522 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008239/2.94, allocations: 59.84 kB / 1.522 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/2.94, allocations: 35.91 kB / 1.522 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/2.94, allocations: 16 kB / 1.522 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006163/2.941, allocations: 391.1 kB / 1.522 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/2.941, allocations: 4 kB / 1.522 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001687/2.942, allocations: 419.4 kB / 1.523 GB, free: 233 MB / 0.8855 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 (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.001047/2.944, allocations: 408.7 kB / 1.523 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003234/2.947, allocations: 0.9053 MB / 1.524 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/2.947, allocations: 4 kB / 1.524 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/2.948, allocations: 300.3 kB / 1.524 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/2.95, allocations: 264.4 kB / 1.525 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/2.953, allocations: 1.271 MB / 1.526 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/2.953, allocations: 0.9197 MB / 1.527 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009966/2.954, allocations: 152.9 kB / 1.527 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/2.955, allocations: 63.41 kB / 1.527 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/2.955, allocations: 7.938 kB / 1.527 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.03257/2.987, allocations: 12.95 MB / 1.54 GB, free: 215.9 MB / 0.8855 GB