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.088/2.088, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001508/0.001508, allocations: 189.5 kB / 325.6 MB, free: 2.848 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.315/2.315, allocations: 205.4 MB / 0.5766 GB, free: 21.15 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.00115/0.001149, allocations: 99.28 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004514, allocations: 15.5 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.358, allocations: 393.2 MB / 1.283 GB, free: 9.797 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/1.358, allocations: 98.69 kB / 1.283 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.811/3.169, allocations: 353 MB / 1.628 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.465e-06/3.169, allocations: 0 / 1.628 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001038/3.169, allocations: 27.98 kB / 1.628 GB, free: 126.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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003979/3.173, allocations: 1.318 MB / 1.629 GB, free: 125 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/3.173, allocations: 8.031 kB / 1.629 GB, free: 125 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/3.173, allocations: 118.7 kB / 1.629 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/3.176, allocations: 0.6842 MB / 1.63 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/3.176, allocations: 60.94 kB / 1.63 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/3.176, allocations: 91.94 kB / 1.63 GB, free: 124 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/3.177, allocations: 0.5413 MB / 1.63 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/3.178, allocations: 7.938 kB / 1.63 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/3.178, allocations: 20 kB / 1.63 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/3.178, allocations: 15.95 kB / 1.63 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/3.179, allocations: 399.7 kB / 1.631 GB, free: 123 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.00636/3.185, allocations: 2.509 MB / 1.633 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/3.186, allocations: 278.6 kB / 1.634 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/3.186, allocations: 340.4 kB / 1.634 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/3.187, allocations: 38.56 kB / 1.634 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=29): time 3.075e-06/3.187, allocations: 0 / 1.634 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.002037/3.189, allocations: 490.3 kB / 1.634 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/3.189, allocations: 51.41 kB / 1.634 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/3.19, allocations: 0.6568 MB / 1.635 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003231/3.19, allocations: 49.7 kB / 1.635 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/3.191, allocations: 446.4 kB / 1.636 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/3.191, allocations: 98.64 kB / 1.636 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/3.191, allocations: 8 kB / 1.636 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.307e-05/3.191, allocations: 326 kB / 1.636 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/3.192, allocations: 157 kB / 1.636 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/3.193, allocations: 0.7973 MB / 1.637 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/3.194, allocations: 235.2 kB / 1.637 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/3.194, allocations: 7.953 kB / 1.637 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001914/3.196, allocations: 0.5457 MB / 1.638 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/3.196, allocations: 0.8017 MB / 1.638 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/3.196, allocations: 0 / 1.638 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/3.196, allocations: 15.95 kB / 1.638 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/3.198, allocations: 171.7 kB / 1.639 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/3.2, allocations: 2.356 MB / 1.641 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/3.203, allocations: 399.8 kB / 1.641 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/3.203, allocations: 23.98 kB / 1.641 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/3.203, allocations: 7.938 kB / 1.641 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/3.205, allocations: 446.1 kB / 1.642 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/3.205, allocations: 4 kB / 1.642 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/3.205, allocations: 4 kB / 1.642 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/3.206, allocations: 135.8 kB / 1.642 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/3.206, allocations: 11.89 kB / 1.642 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/3.209, allocations: 383.8 kB / 1.642 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/3.21, allocations: 23.98 kB / 1.642 GB, free: 110.6 MB / 0.8855 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 () * Number of clocked 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.0008285/3.21, allocations: 301.5 kB / 1.643 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/3.211, allocations: 82.97 kB / 1.643 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/3.212, allocations: 481.7 kB / 1.643 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/3.213, allocations: 4 kB / 1.643 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/3.213, allocations: 3.953 kB / 1.643 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/3.213, allocations: 3.984 kB / 1.643 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/3.216, allocations: 1.13 MB / 1.644 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/3.216, allocations: 7.953 kB / 1.644 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/3.217, allocations: 107.8 kB / 1.644 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/3.217, allocations: 0 / 1.644 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/3.217, allocations: 12 kB / 1.644 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009753/3.218, allocations: 2.356 MB / 1.647 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/3.218, allocations: 4.281 kB / 1.647 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/3.219, allocations: 0.5743 MB / 1.647 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/3.22, allocations: 204.1 kB / 1.647 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/3.22, allocations: 8 kB / 1.647 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/3.221, allocations: 67.77 kB / 1.647 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/3.221, allocations: 27.95 kB / 1.648 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/3.221, allocations: 16 kB / 1.648 GB, free: 105 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009181/3.222, allocations: 0.5029 MB / 1.648 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/3.222, allocations: 0 / 1.648 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002401/3.224, allocations: 0.4954 MB / 1.648 GB, free: 104 MB / 0.8855 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 () * Number of clocked 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.001293/3.226, allocations: 480.4 kB / 1.649 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00343/3.229, allocations: 0.689 MB / 1.65 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/3.229, allocations: 0 / 1.65 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008767/3.23, allocations: 204 kB / 1.65 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/3.234, allocations: 421.3 kB / 1.65 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/3.237, allocations: 1.506 MB / 1.652 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/3.238, allocations: 0.9901 MB / 1.653 GB, free: 99.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001413/3.239, allocations: 169.9 kB / 1.653 GB, free: 99.54 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/3.239, allocations: 75.41 kB / 1.653 GB, free: 99.46 MB / 0.8855 GB Notification: Performance of SimCode: time 1.143e-06/3.239, allocations: 0 / 1.653 GB, free: 99.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.06274/3.302, allocations: 20.19 MB / 1.673 GB, free: 79.53 MB / 0.8855 GB