Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.279/2.279, allocations: 253.2 MB / 260.6 MB, free: 7.477 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.001518/0.001517, allocations: 177.9 kB / 319.9 MB, free: 3.035 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.195/2.195, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001139/0.001139, allocations: 86.69 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.724e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2161, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.897/2.113, allocations: 393.3 MB / 1.273 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/2.113, allocations: 96.28 kB / 1.273 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.898/4.011, allocations: 349.1 MB / 1.614 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.285e-06/4.011, allocations: 0 / 1.614 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001317/4.011, allocations: 33.8 kB / 1.614 GB, free: 211.5 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003494/4.015, allocations: 1.16 MB / 1.615 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/4.015, allocations: 9.5 kB / 1.615 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006123/4.015, allocations: 119.4 kB / 1.615 GB, free: 211 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/4.018, allocations: 0.6674 MB / 1.616 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/4.018, allocations: 16.5 kB / 1.616 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/4.018, allocations: 55 kB / 1.616 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009767/4.019, allocations: 326.9 kB / 1.616 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/4.02, allocations: 456.3 kB / 1.617 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/4.02, allocations: 1.875 kB / 1.617 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/4.02, allocations: 5.359 kB / 1.617 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/4.02, allocations: 15.84 kB / 1.617 GB, free: 210.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.006522/4.027, allocations: 2.374 MB / 1.619 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/4.027, allocations: 259.3 kB / 1.619 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/4.028, allocations: 107.1 kB / 1.619 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/4.028, allocations: 351 kB / 1.62 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/4.028, allocations: 39.56 kB / 1.62 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 3.467e-06/4.028, allocations: 0 / 1.62 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.002138/4.03, allocations: 410.5 kB / 1.62 GB, free: 209 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/4.03, allocations: 54.66 kB / 1.62 GB, free: 209 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/4.032, allocations: 0.5448 MB / 1.621 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003493/4.032, allocations: 31.11 kB / 1.621 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/4.032, allocations: 435.6 kB / 1.621 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/4.032, allocations: 99.53 kB / 1.621 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/4.033, allocations: 0 / 1.621 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001432/4.033, allocations: 380.4 kB / 1.621 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/4.033, allocations: 122.8 kB / 1.622 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/4.034, allocations: 0.7468 MB / 1.622 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/4.036, allocations: 296.1 kB / 1.623 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/4.036, allocations: 5.219 kB / 1.623 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002497/4.038, allocations: 0.5562 MB / 1.623 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002063/4.039, allocations: 0.7943 MB / 1.624 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/4.039, allocations: 1.75 kB / 1.624 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/4.039, allocations: 5.125 kB / 1.624 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/4.041, allocations: 176 kB / 1.624 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/4.042, allocations: 2.39 MB / 1.626 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/4.046, allocations: 369 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/4.046, allocations: 27.06 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/4.046, allocations: 4.094 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001785/4.048, allocations: 420.1 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/4.048, allocations: 2.219 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/4.048, allocations: 8.156 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/4.049, allocations: 136.8 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/4.049, allocations: 6.531 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/4.052, allocations: 353.2 kB / 1.628 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/4.052, allocations: 32.25 kB / 1.628 GB, free: 204.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000332/4.053, allocations: 121.7 kB / 1.628 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/4.053, allocations: 74.33 kB / 1.628 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/4.055, allocations: 490.8 kB / 1.628 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/4.055, allocations: 3.562 kB / 1.628 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/4.055, allocations: 2.906 kB / 1.628 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/4.055, allocations: 0 / 1.628 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/4.058, allocations: 1.08 MB / 1.629 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/4.058, allocations: 2.312 kB / 1.629 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/4.059, allocations: 103.1 kB / 1.63 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/4.059, allocations: 2.406 kB / 1.63 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/4.059, allocations: 8.375 kB / 1.63 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009562/4.06, allocations: 2.36 MB / 1.632 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/4.06, allocations: 5.188 kB / 1.632 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/4.062, allocations: 0.5867 MB / 1.632 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/4.063, allocations: 189.4 kB / 1.633 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/4.063, allocations: 1 kB / 1.633 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008621/4.064, allocations: 62.69 kB / 1.633 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/4.064, allocations: 31.95 kB / 1.633 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/4.064, allocations: 13.56 kB / 1.633 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007509/4.065, allocations: 416.6 kB / 1.633 GB, free: 201 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/4.065, allocations: 3.375 kB / 1.633 GB, free: 201 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002612/4.067, allocations: 492.4 kB / 1.634 GB, free: 201 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/4.069, allocations: 488.3 kB / 1.634 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002909/4.072, allocations: 0.6109 MB / 1.635 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/4.072, allocations: 1 kB / 1.635 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006769/4.072, allocations: 170.4 kB / 1.635 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/4.076, allocations: 344.6 kB / 1.635 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/4.078, allocations: 0.8552 MB / 1.636 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/4.079, allocations: 0.9874 MB / 1.637 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001756/4.08, allocations: 190.4 kB / 1.637 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/4.081, allocations: 53.3 kB / 1.637 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.202e-06/4.081, allocations: 0 / 1.637 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04684/4.128, allocations: 18.07 MB / 1.655 GB, free: 199.5 MB / 0.8698 GB