Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 252.6 MB / 265.2 MB, free: 5.75 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.001414/0.001414, allocations: 179.8 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.129/2.129, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001147/0.001147, allocations: 96.92 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.776e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2044, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.859/2.064, allocations: 395.4 MB / 1.281 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/2.064, allocations: 94.59 kB / 1.281 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5495/2.613, allocations: 170.2 MB / 1.447 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.733e-06/2.613, allocations: 0 / 1.447 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.247e-05/2.613, allocations: 16 kB / 1.447 GB, free: 153.1 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001497/2.615, allocations: 0.7748 MB / 1.448 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.084e-05/2.615, allocations: 8.031 kB / 1.448 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/2.615, allocations: 67.23 kB / 1.448 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/2.616, allocations: 461.3 kB / 1.449 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/2.616, allocations: 20.56 kB / 1.449 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/2.617, allocations: 32 kB / 1.449 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/2.617, allocations: 256.6 kB / 1.449 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/2.617, allocations: 0 / 1.449 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/2.617, allocations: 8 kB / 1.449 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/2.617, allocations: 11.95 kB / 1.449 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/2.618, allocations: 170.1 kB / 1.449 GB, free: 151.2 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.002619/2.62, allocations: 1.313 MB / 1.45 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/2.621, allocations: 175.4 kB / 1.451 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/2.621, allocations: 78.34 kB / 1.451 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002107/2.623, allocations: 1.351 MB / 1.452 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/2.623, allocations: 34.56 kB / 1.452 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 3.326e-06/2.623, allocations: 0 / 1.452 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0005346/2.624, allocations: 190.2 kB / 1.452 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/2.624, allocations: 55.41 kB / 1.452 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008475/2.625, allocations: 0.5046 MB / 1.453 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/2.625, allocations: 33.7 kB / 1.453 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/2.625, allocations: 260 kB / 1.453 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/2.625, allocations: 67.08 kB / 1.453 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/2.625, allocations: 8 kB / 1.453 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/2.625, allocations: 358.8 kB / 1.453 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/2.625, allocations: 56 kB / 1.453 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/2.626, allocations: 214.4 kB / 1.454 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/2.626, allocations: 95.67 kB / 1.454 GB, free: 146 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.626, allocations: 0 / 1.454 GB, free: 146 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000673/2.626, allocations: 288.8 kB / 1.454 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000179/2.627, allocations: 0.7954 MB / 1.455 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/2.627, allocations: 0 / 1.455 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/2.627, allocations: 8 kB / 1.455 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/2.627, allocations: 67.89 kB / 1.455 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/2.627, allocations: 4 kB / 1.455 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/2.628, allocations: 55.66 kB / 1.455 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/2.628, allocations: 15.95 kB / 1.455 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/2.628, allocations: 9.562 kB / 1.455 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00053/2.629, allocations: 215.7 kB / 1.455 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/2.629, allocations: 4 kB / 1.455 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/2.629, allocations: 8 kB / 1.455 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/2.629, allocations: 67.89 kB / 1.455 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/2.629, allocations: 7.938 kB / 1.455 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/2.63, allocations: 55.84 kB / 1.455 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/2.63, allocations: 12 kB / 1.455 GB, free: 144.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 (35): * Single equations (assignments): 35 * 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.0001082/2.63, allocations: 120.9 kB / 1.455 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/2.63, allocations: 47.39 kB / 1.455 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/2.631, allocations: 271.9 kB / 1.456 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/2.631, allocations: 4 kB / 1.456 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/2.631, allocations: 0 / 1.456 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/2.631, allocations: 0 / 1.456 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/2.632, allocations: 0.7551 MB / 1.456 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/2.632, allocations: 8.031 kB / 1.456 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/2.632, allocations: 35.97 kB / 1.456 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/2.632, allocations: 4 kB / 1.456 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/2.632, allocations: 8 kB / 1.457 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/2.632, allocations: 0 / 1.457 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/2.633, allocations: 7.938 kB / 1.457 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/2.633, allocations: 474.9 kB / 1.457 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/2.634, allocations: 156.5 kB / 1.457 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/2.634, allocations: 7.938 kB / 1.457 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/2.634, allocations: 27.98 kB / 1.457 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/2.634, allocations: 23.92 kB / 1.457 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/2.634, allocations: 7.938 kB / 1.457 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006436/2.635, allocations: 401.5 kB / 1.458 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/2.635, allocations: 0 / 1.458 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001251/2.636, allocations: 279.6 kB / 1.458 GB, free: 141.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.001544/2.638, allocations: 0.5662 MB / 1.458 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008691/2.639, allocations: 339.2 kB / 1.459 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/2.639, allocations: 0 / 1.459 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/2.639, allocations: 87.84 kB / 1.459 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/2.641, allocations: 257.5 kB / 1.459 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/2.643, allocations: 0.6496 MB / 1.46 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/2.643, allocations: 0.8556 MB / 1.461 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009422/2.644, allocations: 192.1 kB / 1.461 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/2.644, allocations: 31.44 kB / 1.461 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.343e-06/2.644, allocations: 0 / 1.461 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.03012/2.674, allocations: 12.34 MB / 1.473 GB, free: 126.5 MB / 0.8698 GB