Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.201/2.201, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001571/0.001571, allocations: 187.9 kB / 325.6 MB, free: 2.855 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.259/2.259, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001143/0.001142, allocations: 94.36 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006516, allocations: 14.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2092, allocations: 106.2 MB / 0.8989 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.42, allocations: 394.9 MB / 1.285 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004691/1.42, allocations: 97.45 kB / 1.285 GB, free: 8.941 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.686/3.106, allocations: 294.1 MB / 1.572 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.126e-06/3.106, allocations: 4 kB / 1.572 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.776e-05/3.106, allocations: 24 kB / 1.572 GB, free: 154.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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00391/3.11, allocations: 1.407 MB / 1.573 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/3.11, allocations: 8.562 kB / 1.573 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/3.11, allocations: 114.7 kB / 1.573 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/3.112, allocations: 0.6678 MB / 1.574 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/3.112, allocations: 53.31 kB / 1.574 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/3.112, allocations: 68 kB / 1.574 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/3.114, allocations: 0.6819 MB / 1.575 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/3.114, allocations: 0 / 1.575 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/3.114, allocations: 27.95 kB / 1.575 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/3.114, allocations: 19.94 kB / 1.575 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/3.116, allocations: 472.9 kB / 1.575 GB, free: 150.7 MB / 0.8698 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.005404/3.121, allocations: 2.608 MB / 1.578 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/3.122, allocations: 404.6 kB / 1.578 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/3.123, allocations: 344.4 kB / 1.579 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008344/3.124, allocations: 357.3 kB / 1.579 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 3.406e-06/3.124, allocations: 0 / 1.579 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.002664/3.126, allocations: 0.8735 MB / 1.58 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/3.126, allocations: 243.5 kB / 1.58 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/3.128, allocations: 0.7256 MB / 1.581 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/3.128, allocations: 41.69 kB / 1.581 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/3.128, allocations: 440.4 kB / 1.581 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/3.128, allocations: 118.3 kB / 1.581 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/3.128, allocations: 12 kB / 1.581 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/3.129, allocations: 334 kB / 1.582 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/3.129, allocations: 225.1 kB / 1.582 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/3.13, allocations: 432.8 kB / 1.582 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/3.131, allocations: 275.6 kB / 1.583 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/3.131, allocations: 0 / 1.583 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002216/3.133, allocations: 0.8072 MB / 1.583 GB, free: 142 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002618/3.133, allocations: 1.08 MB / 1.584 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/3.133, allocations: 4 kB / 1.584 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/3.133, allocations: 4 kB / 1.584 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/3.135, allocations: 167.7 kB / 1.585 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/3.136, allocations: 1.785 MB / 1.586 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/3.138, allocations: 131.4 kB / 1.586 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/3.138, allocations: 31.98 kB / 1.586 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/3.138, allocations: 4.547 kB / 1.586 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001972/3.14, allocations: 0.7052 MB / 1.587 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/3.14, allocations: 8.062 kB / 1.587 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/3.14, allocations: 4 kB / 1.587 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/3.141, allocations: 135.8 kB / 1.587 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/3.141, allocations: 7.938 kB / 1.587 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/3.142, allocations: 115.4 kB / 1.587 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/3.142, allocations: 36 kB / 1.587 GB, free: 137.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006624/3.143, allocations: 343.9 kB / 1.588 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/3.143, allocations: 98.86 kB / 1.588 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/3.146, allocations: 0.7588 MB / 1.589 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/3.146, allocations: 4 kB / 1.589 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/3.146, allocations: 4 kB / 1.589 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/3.146, allocations: 8.062 kB / 1.589 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/3.149, allocations: 1.607 MB / 1.59 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/3.149, allocations: 0 / 1.59 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/3.15, allocations: 99.95 kB / 1.59 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/3.15, allocations: 4 kB / 1.59 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/3.15, allocations: 15.98 kB / 1.59 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006845/3.151, allocations: 1.77 MB / 1.592 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/3.151, allocations: 3.938 kB / 1.592 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/3.153, allocations: 1.27 MB / 1.593 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/3.154, allocations: 235.8 kB / 1.593 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/3.154, allocations: 12 kB / 1.593 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/3.155, allocations: 75.98 kB / 1.594 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/3.155, allocations: 47.88 kB / 1.594 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/3.155, allocations: 23.98 kB / 1.594 GB, free: 131 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009635/3.156, allocations: 0.5588 MB / 1.594 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.81e-07/3.156, allocations: 3.938 kB / 1.594 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001943/3.158, allocations: 0.4953 MB / 1.595 GB, free: 130 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/3.159, allocations: 488.5 kB / 1.595 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003141/3.163, allocations: 1.012 MB / 1.596 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/3.163, allocations: 0.875 kB / 1.596 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/3.164, allocations: 371.2 kB / 1.596 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/3.167, allocations: 373 kB / 1.597 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/3.171, allocations: 1.714 MB / 1.599 GB, free: 126 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/3.171, allocations: 1.013 MB / 1.599 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001165/3.173, allocations: 153.9 kB / 1.6 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/3.173, allocations: 67.41 kB / 1.6 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/3.173, allocations: 4 kB / 1.6 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04272/3.216, allocations: 17.01 MB / 1.616 GB, free: 107.9 MB / 0.8698 GB