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.305/2.305, allocations: 253.2 MB / 260.6 MB, free: 7.469 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.001454/0.001453, allocations: 185.6 kB / 319.9 MB, free: 3.02 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.157/2.157, allocations: 205.6 MB / 0.5708 GB, free: 15.22 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.001091/0.001091, allocations: 95.47 kB / 0.6751 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.204e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 106.2 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.891/2.109, allocations: 395.1 MB / 1.275 GB, free: 253 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/2.11, allocations: 93.69 kB / 1.275 GB, free: 253 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.952/3.062, allocations: 291 MB / 1.559 GB, free: 37 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.894e-06/3.062, allocations: 0 / 1.559 GB, free: 37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000103/3.062, allocations: 28.2 kB / 1.559 GB, free: 36.97 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.003136/3.065, allocations: 1.236 MB / 1.56 GB, free: 35.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/3.065, allocations: 12.03 kB / 1.56 GB, free: 35.67 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/3.065, allocations: 118.7 kB / 1.56 GB, free: 35.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/3.067, allocations: 0.6639 MB / 1.561 GB, free: 34.85 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/3.067, allocations: 20 kB / 1.561 GB, free: 34.83 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/3.067, allocations: 40 kB / 1.561 GB, free: 34.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001059/3.069, allocations: 398.5 kB / 1.561 GB, free: 34.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/3.07, allocations: 0.574 MB / 1.562 GB, free: 33.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/3.07, allocations: 4 kB / 1.562 GB, free: 33.78 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/3.07, allocations: 4 kB / 1.562 GB, free: 33.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/3.07, allocations: 12 kB / 1.562 GB, free: 33.77 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.005477/3.075, allocations: 2.467 MB / 1.564 GB, free: 31.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008334/3.076, allocations: 328.4 kB / 1.564 GB, free: 30.84 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/3.077, allocations: 184.8 kB / 1.565 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003414/3.077, allocations: 352.4 kB / 1.565 GB, free: 30.24 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006202/3.078, allocations: 313.6 kB / 1.565 GB, free: 29.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 4.017e-06/3.078, allocations: 0 / 1.565 GB, free: 29.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.002538/3.08, allocations: 0.6026 MB / 1.566 GB, free: 29.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/3.08, allocations: 247.6 kB / 1.566 GB, free: 29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/3.081, allocations: 0.5867 MB / 1.567 GB, free: 28.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/3.082, allocations: 29.7 kB / 1.567 GB, free: 28.37 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/3.082, allocations: 447.8 kB / 1.567 GB, free: 27.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/3.082, allocations: 118.3 kB / 1.567 GB, free: 27.81 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/3.082, allocations: 0 / 1.567 GB, free: 27.81 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/3.082, allocations: 333.9 kB / 1.568 GB, free: 27.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/3.083, allocations: 185.1 kB / 1.568 GB, free: 27.29 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/3.084, allocations: 383.1 kB / 1.568 GB, free: 26.84 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/3.085, allocations: 309.8 kB / 1.568 GB, free: 26.54 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/3.085, allocations: 0 / 1.568 GB, free: 26.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002861/3.088, allocations: 0.7589 MB / 1.569 GB, free: 25.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000273/3.088, allocations: 1.082 MB / 1.57 GB, free: 24.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/3.088, allocations: 0 / 1.57 GB, free: 24.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/3.088, allocations: 8 kB / 1.57 GB, free: 24.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/3.09, allocations: 167.7 kB / 1.57 GB, free: 24.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/3.091, allocations: 1.793 MB / 1.572 GB, free: 22.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/3.093, allocations: 107.4 kB / 1.572 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/3.093, allocations: 31.98 kB / 1.572 GB, free: 22.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/3.093, allocations: 4 kB / 1.572 GB, free: 22.43 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002376/3.096, allocations: 0.6408 MB / 1.573 GB, free: 21.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/3.096, allocations: 4 kB / 1.573 GB, free: 21.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/3.096, allocations: 7.984 kB / 1.573 GB, free: 21.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/3.097, allocations: 127.9 kB / 1.573 GB, free: 21.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/3.097, allocations: 11.94 kB / 1.573 GB, free: 21.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/3.098, allocations: 95.89 kB / 1.573 GB, free: 21.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/3.098, allocations: 31.98 kB / 1.573 GB, free: 21.52 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * 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.0002756/3.099, allocations: 162.5 kB / 1.573 GB, free: 21.35 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/3.099, allocations: 86.92 kB / 1.573 GB, free: 21.26 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/3.102, allocations: 0.7097 MB / 1.574 GB, free: 20.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/3.102, allocations: 8 kB / 1.574 GB, free: 20.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/3.102, allocations: 0 / 1.574 GB, free: 20.53 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/3.102, allocations: 7.938 kB / 1.574 GB, free: 20.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/3.107, allocations: 1.515 MB / 1.576 GB, free: 18.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/3.107, allocations: 96 / 1.576 GB, free: 18.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007958/3.108, allocations: 96 kB / 1.576 GB, free: 18.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/3.108, allocations: 11.92 kB / 1.576 GB, free: 18.85 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/3.108, allocations: 8 kB / 1.576 GB, free: 18.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007473/3.109, allocations: 1.774 MB / 1.577 GB, free: 17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/3.109, allocations: 0 / 1.577 GB, free: 17 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/3.112, allocations: 1.21 MB / 1.579 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/3.113, allocations: 219.9 kB / 1.579 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/3.113, allocations: 11.95 kB / 1.579 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/3.115, allocations: 67.98 kB / 1.579 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/3.115, allocations: 47.92 kB / 1.579 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/3.115, allocations: 20 kB / 1.579 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008135/3.116, allocations: 455.1 kB / 1.579 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.12e-07/3.116, allocations: 0 / 1.579 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00269/3.118, allocations: 490.8 kB / 1.58 GB, free: 14.44 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) * 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.001463/3.12, allocations: 491.5 kB / 1.58 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003165/3.123, allocations: 0.9248 MB / 1.581 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/3.123, allocations: 0 / 1.581 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/3.124, allocations: 315.2 kB / 1.582 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/3.127, allocations: 310.1 kB / 1.582 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/3.131, allocations: 1.026 MB / 1.583 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/3.131, allocations: 1.018 MB / 1.584 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00138/3.133, allocations: 191.9 kB / 1.584 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/3.133, allocations: 51.42 kB / 1.584 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/3.133, allocations: 4 kB / 1.584 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of Templates: time 0.6647/3.798, allocations: 15.61 MB / 1.599 GB, free: 219.6 MB / 0.8698 GB