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.239/2.239, allocations: 252.6 MB / 265.2 MB, free: 5.645 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.001465/0.001465, allocations: 185.6 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.12/2.12, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001186/0.001186, allocations: 94.62 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.124e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.889/2.095, allocations: 393.1 MB / 1.279 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/2.095, allocations: 96.09 kB / 1.279 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.841/3.937, allocations: 352 MB / 1.623 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.615e-06/3.937, allocations: 0 / 1.623 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001409/3.937, allocations: 30.05 kB / 1.623 GB, free: 212.3 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.003309/3.94, allocations: 1.157 MB / 1.624 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/3.94, allocations: 17.94 kB / 1.624 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/3.941, allocations: 117.8 kB / 1.624 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/3.943, allocations: 0.6608 MB / 1.625 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/3.943, allocations: 60.94 kB / 1.625 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/3.943, allocations: 86.62 kB / 1.625 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/3.944, allocations: 0.5134 MB / 1.625 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/3.945, allocations: 3.094 kB / 1.625 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/3.945, allocations: 22.78 kB / 1.625 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/3.945, allocations: 18.34 kB / 1.625 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008896/3.946, allocations: 347 kB / 1.626 GB, free: 211.5 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.00626/3.952, allocations: 2.51 MB / 1.628 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/3.953, allocations: 248.8 kB / 1.628 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/3.953, allocations: 111.3 kB / 1.628 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003374/3.953, allocations: 349.3 kB / 1.629 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/3.953, allocations: 37.41 kB / 1.629 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 2.965e-06/3.953, allocations: 0 / 1.629 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.001215/3.954, allocations: 324.9 kB / 1.629 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/3.955, allocations: 61.39 kB / 1.629 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/3.956, allocations: 0.651 MB / 1.63 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002973/3.956, allocations: 48.95 kB / 1.63 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/3.956, allocations: 440.5 kB / 1.63 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/3.957, allocations: 97.38 kB / 1.63 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/3.957, allocations: 6.625 kB / 1.63 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/3.957, allocations: 331.7 kB / 1.631 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/3.957, allocations: 127.4 kB / 1.631 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/3.958, allocations: 0.7641 MB / 1.631 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/3.959, allocations: 225.1 kB / 1.632 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/3.959, allocations: 0 / 1.632 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001578/3.96, allocations: 0.5045 MB / 1.632 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/3.961, allocations: 0.7965 MB / 1.633 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/3.961, allocations: 3.938 kB / 1.633 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/3.961, allocations: 7.891 kB / 1.633 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/3.963, allocations: 168.8 kB / 1.633 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/3.965, allocations: 2.365 MB / 1.635 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005362/3.97, allocations: 390.8 kB / 1.636 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003222/3.97, allocations: 33.31 kB / 1.636 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/3.971, allocations: 6.594 kB / 1.636 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002058/3.973, allocations: 389.6 kB / 1.636 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/3.973, allocations: 3.938 kB / 1.636 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/3.973, allocations: 3.875 kB / 1.636 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/3.974, allocations: 145.6 kB / 1.636 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/3.974, allocations: 11.2 kB / 1.636 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005057/3.98, allocations: 382 kB / 1.637 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/3.98, allocations: 24.67 kB / 1.637 GB, free: 205.2 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 (62): * Single equations (assignments): 58 * 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.0005349/3.98, allocations: 141.4 kB / 1.637 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/3.981, allocations: 80.28 kB / 1.637 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/3.983, allocations: 439.2 kB / 1.637 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/3.983, allocations: 1.875 kB / 1.637 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/3.983, allocations: 10.8 kB / 1.637 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/3.983, allocations: 7.5 kB / 1.637 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/3.987, allocations: 1.089 MB / 1.638 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/3.987, allocations: 3.953 kB / 1.638 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/3.988, allocations: 99.38 kB / 1.639 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/3.988, allocations: 5.656 kB / 1.639 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/3.989, allocations: 11.12 kB / 1.639 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/3.99, allocations: 2.355 MB / 1.641 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/3.99, allocations: 3.094 kB / 1.641 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/3.992, allocations: 0.5331 MB / 1.641 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007783/3.992, allocations: 210 kB / 1.642 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/3.993, allocations: 6.5 kB / 1.642 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/3.995, allocations: 57.5 kB / 1.642 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/3.995, allocations: 34.56 kB / 1.642 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/3.995, allocations: 14.47 kB / 1.642 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001532/3.996, allocations: 0.4962 MB / 1.642 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.403e-06/3.996, allocations: 0 / 1.642 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003676/4, allocations: 0.5004 MB / 1.643 GB, free: 201.7 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.001826/4.002, allocations: 472.6 kB / 1.643 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004418/4.007, allocations: 0.6353 MB / 1.644 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/4.007, allocations: 0 / 1.644 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/4.008, allocations: 178 kB / 1.644 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/4.014, allocations: 426.3 kB / 1.644 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/4.018, allocations: 0.8916 MB / 1.645 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/4.018, allocations: 0.9886 MB / 1.646 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002754/4.021, allocations: 220.1 kB / 1.646 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/4.022, allocations: 57.81 kB / 1.646 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.874e-06/4.022, allocations: 0 / 1.646 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.07411/4.096, allocations: 22.05 MB / 1.668 GB, free: 199.9 MB / 0.8698 GB