Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009254/0.009254, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001267/0.001267, allocations: 179.3 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.797/1.797, allocations: 194.5 MB / 211.2 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.326/2.326, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 16 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.611, allocations: 98.69 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.661, allocations: 386.2 MB / 1.061 GB, free: 65.24 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.661, allocations: 94.02 kB / 1.061 GB, free: 65.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.372/3.033, allocations: 291.2 MB / 1.345 GB, free: 207.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.761e-06/3.033, allocations: 0 / 1.345 GB, free: 207.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.815e-05/3.033, allocations: 31.53 kB / 1.345 GB, free: 207.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002898/3.036, allocations: 1.381 MB / 1.346 GB, free: 206.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/3.036, allocations: 8.031 kB / 1.346 GB, free: 206.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/3.036, allocations: 118.6 kB / 1.347 GB, free: 206.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/3.038, allocations: 0.6632 MB / 1.347 GB, free: 205.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/3.038, allocations: 45.31 kB / 1.347 GB, free: 205.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/3.038, allocations: 64 kB / 1.347 GB, free: 205.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/3.039, allocations: 0.6562 MB / 1.348 GB, free: 204.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/3.039, allocations: 3.938 kB / 1.348 GB, free: 204.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/3.039, allocations: 24 kB / 1.348 GB, free: 204.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/3.039, allocations: 16 kB / 1.348 GB, free: 204.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/3.04, allocations: 448 kB / 1.348 GB, free: 204.4 MB / 0.823 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.004141/3.045, allocations: 2.39 MB / 1.351 GB, free: 201.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/3.046, allocations: 379.4 kB / 1.351 GB, free: 201.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/3.046, allocations: 352.2 kB / 1.351 GB, free: 201.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006315/3.047, allocations: 338.8 kB / 1.352 GB, free: 200.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.202e-06/3.047, allocations: 4 kB / 1.352 GB, free: 200.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.00188/3.048, allocations: 0.7693 MB / 1.352 GB, free: 199.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/3.049, allocations: 251.5 kB / 1.353 GB, free: 199.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/3.05, allocations: 0.7165 MB / 1.353 GB, free: 198.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.857e-05/3.05, allocations: 37.7 kB / 1.353 GB, free: 198.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/3.05, allocations: 436.3 kB / 1.354 GB, free: 198.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/3.05, allocations: 106 kB / 1.354 GB, free: 198.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/3.05, allocations: 12 kB / 1.354 GB, free: 198.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/3.05, allocations: 334 kB / 1.354 GB, free: 198 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/3.051, allocations: 213 kB / 1.354 GB, free: 197.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/3.052, allocations: 406.4 kB / 1.355 GB, free: 197.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/3.052, allocations: 279.7 kB / 1.355 GB, free: 197 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.127e-06/3.052, allocations: 0 / 1.355 GB, free: 197 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00163/3.054, allocations: 0.702 MB / 1.356 GB, free: 196.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/3.054, allocations: 0.9117 MB / 1.357 GB, free: 195.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/3.054, allocations: 4 kB / 1.357 GB, free: 195.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/3.054, allocations: 7.938 kB / 1.357 GB, free: 195.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/3.055, allocations: 155.7 kB / 1.357 GB, free: 195.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008427/3.056, allocations: 1.778 MB / 1.359 GB, free: 193.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/3.057, allocations: 131.4 kB / 1.359 GB, free: 193.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/3.057, allocations: 31.98 kB / 1.359 GB, free: 193.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/3.057, allocations: 4 kB / 1.359 GB, free: 193.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001424/3.059, allocations: 0.6036 MB / 1.359 GB, free: 192.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.606e-06/3.059, allocations: 4 kB / 1.359 GB, free: 192.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/3.059, allocations: 4 kB / 1.359 GB, free: 192.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/3.059, allocations: 135.1 kB / 1.36 GB, free: 192.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/3.059, allocations: 7.984 kB / 1.36 GB, free: 192.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/3.061, allocations: 131.5 kB / 1.36 GB, free: 192.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/3.061, allocations: 28 kB / 1.36 GB, free: 192.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 11 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 60 * 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.0005767/3.061, allocations: 341.3 kB / 1.36 GB, free: 191.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/3.061, allocations: 90.88 kB / 1.36 GB, free: 191.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/3.063, allocations: 0.617 MB / 1.361 GB, free: 191.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/3.063, allocations: 4 kB / 1.361 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.408e-06/3.063, allocations: 0 / 1.361 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-06/3.063, allocations: 3.953 kB / 1.361 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/3.065, allocations: 1.26 MB / 1.362 GB, free: 189.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-06/3.065, allocations: 0 / 1.362 GB, free: 189.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/3.066, allocations: 89.41 kB / 1.362 GB, free: 189.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-06/3.066, allocations: 0 / 1.362 GB, free: 189.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/3.066, allocations: 15.98 kB / 1.362 GB, free: 189.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006498/3.067, allocations: 1.766 MB / 1.364 GB, free: 187.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.811e-06/3.067, allocations: 0 / 1.364 GB, free: 187.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/3.069, allocations: 0.8755 MB / 1.365 GB, free: 187 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/3.069, allocations: 223.8 kB / 1.365 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/3.069, allocations: 8 kB / 1.365 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/3.07, allocations: 83.88 kB / 1.365 GB, free: 186.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/3.07, allocations: 43.94 kB / 1.365 GB, free: 186.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/3.07, allocations: 23.92 kB / 1.365 GB, free: 186.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009066/3.071, allocations: 0.5743 MB / 1.366 GB, free: 186 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.33e-07/3.071, allocations: 0 / 1.366 GB, free: 186 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001675/3.073, allocations: 495.2 kB / 1.366 GB, free: 185.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.001036/3.074, allocations: 489.2 kB / 1.366 GB, free: 185.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00234/3.076, allocations: 0.962 MB / 1.367 GB, free: 184.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/3.076, allocations: 0 / 1.367 GB, free: 184.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006336/3.077, allocations: 314 kB / 1.368 GB, free: 183.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/3.079, allocations: 356.9 kB / 1.368 GB, free: 183.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/3.082, allocations: 1.589 MB / 1.37 GB, free: 181.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/3.082, allocations: 1.016 MB / 1.371 GB, free: 180.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008535/3.083, allocations: 141.8 kB / 1.371 GB, free: 180.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/3.083, allocations: 59.42 kB / 1.371 GB, free: 180.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.636e-06/3.083, allocations: 0 / 1.371 GB, free: 180.6 MB / 0.823 GB Notification: Performance of Templates: time 0.03622/3.12, allocations: 16.72 MB / 1.387 GB, free: 164.1 MB / 0.823 GB