Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.25/2.25, allocations: 252.6 MB / 265.2 MB, free: 5.652 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.001575/0.001574, allocations: 185.4 kB / 324.5 MB, free: 14.41 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.031/2.031, allocations: 205.4 MB / 0.5754 GB, free: 10.51 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: 94.69 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.044e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1956, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.769/1.965, allocations: 390.9 MB / 1.277 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/1.966, allocations: 97.45 kB / 1.277 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5741/2.54, allocations: 170.1 MB / 1.443 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.693e-06/2.54, allocations: 0 / 1.443 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.938e-05/2.54, allocations: 12 kB / 1.443 GB, free: 125.7 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00136/2.541, allocations: 0.7396 MB / 1.444 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/2.541, allocations: 8.031 kB / 1.444 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/2.541, allocations: 55.34 kB / 1.444 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/2.542, allocations: 425.4 kB / 1.444 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/2.542, allocations: 20.44 kB / 1.444 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/2.542, allocations: 32 kB / 1.444 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/2.543, allocations: 191.2 kB / 1.444 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/2.543, allocations: 7.984 kB / 1.444 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/2.543, allocations: 11.94 kB / 1.444 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/2.543, allocations: 8 kB / 1.444 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/2.543, allocations: 125.7 kB / 1.444 GB, free: 124 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.002237/2.546, allocations: 0.9458 MB / 1.445 GB, free: 123 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/2.546, allocations: 114.5 kB / 1.445 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/2.546, allocations: 56.84 kB / 1.445 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/2.546, allocations: 340.5 kB / 1.446 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/2.546, allocations: 38.56 kB / 1.446 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.485e-06/2.546, allocations: 0 / 1.446 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.000491/2.547, allocations: 161.4 kB / 1.446 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/2.547, allocations: 51.41 kB / 1.446 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/2.548, allocations: 411.8 kB / 1.446 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/2.548, allocations: 33.7 kB / 1.446 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/2.548, allocations: 228.3 kB / 1.447 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/2.548, allocations: 51.3 kB / 1.447 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/2.548, allocations: 8 kB / 1.447 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/2.548, allocations: 358.7 kB / 1.447 GB, free: 121 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/2.548, allocations: 44 kB / 1.447 GB, free: 121 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/2.549, allocations: 165.9 kB / 1.447 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/2.549, allocations: 79.02 kB / 1.447 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/2.549, allocations: 0 / 1.447 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005322/2.549, allocations: 215.5 kB / 1.448 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-05/2.549, allocations: 282.9 kB / 1.448 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/2.549, allocations: 0 / 1.448 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/2.549, allocations: 4 kB / 1.448 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/2.55, allocations: 47.91 kB / 1.448 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/2.55, allocations: 4 kB / 1.448 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/2.551, allocations: 43.81 kB / 1.448 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/2.551, allocations: 15.98 kB / 1.448 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/2.551, allocations: 7.938 kB / 1.448 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004092/2.551, allocations: 147.8 kB / 1.448 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/2.551, allocations: 0 / 1.448 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/2.551, allocations: 0 / 1.448 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/2.552, allocations: 55.91 kB / 1.448 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/2.552, allocations: 0 / 1.448 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/2.552, allocations: 43.81 kB / 1.448 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/2.552, allocations: 11.98 kB / 1.448 GB, free: 119.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001084/2.552, allocations: 128.9 kB / 1.448 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/2.552, allocations: 43.44 kB / 1.448 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/2.553, allocations: 228.8 kB / 1.449 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/2.553, allocations: 0 / 1.449 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.553, allocations: 0 / 1.449 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/2.553, allocations: 4 kB / 1.449 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/2.554, allocations: 0.677 MB / 1.449 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/2.554, allocations: 4 kB / 1.449 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/2.555, allocations: 35.91 kB / 1.449 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/2.555, allocations: 4 kB / 1.449 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/2.555, allocations: 4 kB / 1.449 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/2.555, allocations: 3.953 kB / 1.449 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.555, allocations: 8.125 kB / 1.449 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/2.555, allocations: 357.1 kB / 1.45 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/2.555, allocations: 144.5 kB / 1.45 GB, free: 118 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/2.555, allocations: 4 kB / 1.45 GB, free: 118 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/2.556, allocations: 27.91 kB / 1.45 GB, free: 118 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/2.556, allocations: 19.92 kB / 1.45 GB, free: 118 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/2.556, allocations: 11.98 kB / 1.45 GB, free: 118 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004827/2.557, allocations: 321.5 kB / 1.45 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/2.557, allocations: 0 / 1.45 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001046/2.558, allocations: 231.7 kB / 1.45 GB, free: 117.4 MB / 0.8542 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 (16): * Single equations (assignments): 14 * 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.001464/2.559, allocations: 0.5396 MB / 1.451 GB, free: 117 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007579/2.56, allocations: 246.4 kB / 1.451 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/2.56, allocations: 4 kB / 1.451 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/2.56, allocations: 71.91 kB / 1.451 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/2.562, allocations: 217.3 kB / 1.451 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/2.563, allocations: 0.4998 MB / 1.452 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/2.564, allocations: 0.8356 MB / 1.453 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000755/2.565, allocations: 127.5 kB / 1.453 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/2.565, allocations: 31.44 kB / 1.453 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.363e-06/2.565, allocations: 0 / 1.453 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.0269/2.592, allocations: 10.38 MB / 1.463 GB, free: 104.6 MB / 0.8542 GB