Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.157/4.157, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.332e-05/2.34e-05, allocations: 4 kB / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5025, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9311/1.434, allocations: 385.5 MB / 1.005 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.434, allocations: 93.31 kB / 1.005 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.319/2.753, allocations: 288 MB / 1.287 GB, free: 131.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.448e-06/2.753, allocations: 0 / 1.287 GB, free: 131.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.87e-05/2.753, allocations: 27.94 kB / 1.287 GB, free: 131.6 MB / 0.8073 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.002334/2.755, allocations: 1.221 MB / 1.288 GB, free: 130.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/2.755, allocations: 8.031 kB / 1.288 GB, free: 130.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/2.755, allocations: 118.7 kB / 1.288 GB, free: 130.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/2.757, allocations: 0.6445 MB / 1.289 GB, free: 129.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/2.757, allocations: 20 kB / 1.289 GB, free: 129.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/2.757, allocations: 36 kB / 1.289 GB, free: 129.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008877/2.758, allocations: 390.4 kB / 1.289 GB, free: 129.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/2.759, allocations: 0.5411 MB / 1.29 GB, free: 128.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/2.759, allocations: 3.984 kB / 1.29 GB, free: 128.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/2.759, allocations: 0 / 1.29 GB, free: 128.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/2.759, allocations: 12 kB / 1.29 GB, free: 128.5 MB / 0.8073 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.004471/2.764, allocations: 2.596 MB / 1.292 GB, free: 125.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/2.765, allocations: 306.8 kB / 1.293 GB, free: 125.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/2.765, allocations: 157.1 kB / 1.293 GB, free: 125.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/2.765, allocations: 8.219 kB / 1.293 GB, free: 125.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/2.765, allocations: 293.5 kB / 1.293 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 3.396e-06/2.765, allocations: 0 / 1.293 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.001698/2.767, allocations: 0.4951 MB / 1.293 GB, free: 124.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/2.767, allocations: 183.9 kB / 1.294 GB, free: 124.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/2.768, allocations: 0.5981 MB / 1.294 GB, free: 123.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/2.768, allocations: 33.7 kB / 1.294 GB, free: 123.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/2.769, allocations: 439.8 kB / 1.295 GB, free: 123.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/2.769, allocations: 102.5 kB / 1.295 GB, free: 123 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/2.769, allocations: 0 / 1.295 GB, free: 123 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/2.769, allocations: 334 kB / 1.295 GB, free: 122.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/2.769, allocations: 177.1 kB / 1.295 GB, free: 122.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/2.77, allocations: 361.4 kB / 1.296 GB, free: 122.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/2.771, allocations: 301.9 kB / 1.296 GB, free: 121.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.985e-06/2.771, allocations: 0 / 1.296 GB, free: 121.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002039/2.773, allocations: 0.6651 MB / 1.297 GB, free: 121.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000222/2.773, allocations: 0.9042 MB / 1.297 GB, free: 120.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/2.773, allocations: 4 kB / 1.297 GB, free: 120.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/2.773, allocations: 8.328 kB / 1.297 GB, free: 120.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/2.774, allocations: 151.7 kB / 1.298 GB, free: 120 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009339/2.775, allocations: 1.797 MB / 1.299 GB, free: 118.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/2.776, allocations: 119.5 kB / 1.299 GB, free: 118 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/2.777, allocations: 28 kB / 1.299 GB, free: 117.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/2.777, allocations: 9.344 kB / 1.299 GB, free: 117.9 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001799/2.778, allocations: 0.5432 MB / 1.3 GB, free: 117.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.222e-06/2.778, allocations: 4 kB / 1.3 GB, free: 117.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/2.779, allocations: 8 kB / 1.3 GB, free: 117.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/2.779, allocations: 132.1 kB / 1.3 GB, free: 117.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.841e-06/2.779, allocations: 4 kB / 1.3 GB, free: 117.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/2.78, allocations: 99.55 kB / 1.3 GB, free: 117.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/2.78, allocations: 24 kB / 1.3 GB, free: 117.1 MB / 0.8073 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * 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.0002417/2.781, allocations: 169.8 kB / 1.3 GB, free: 117 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/2.781, allocations: 82.97 kB / 1.3 GB, free: 116.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/2.782, allocations: 0.5224 MB / 1.301 GB, free: 116.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.572e-06/2.782, allocations: 4 kB / 1.301 GB, free: 116.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.147e-06/2.782, allocations: 0 / 1.301 GB, free: 116.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.704e-06/2.782, allocations: 3.984 kB / 1.301 GB, free: 116.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/2.785, allocations: 1.159 MB / 1.302 GB, free: 115.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/2.785, allocations: 0 / 1.302 GB, free: 115.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/2.786, allocations: 79.89 kB / 1.302 GB, free: 115.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.447e-06/2.786, allocations: 0 / 1.302 GB, free: 115.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/2.786, allocations: 15.98 kB / 1.302 GB, free: 115 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006896/2.787, allocations: 1.766 MB / 1.304 GB, free: 113.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.462e-06/2.787, allocations: 4.234 kB / 1.304 GB, free: 113.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/2.789, allocations: 0.8081 MB / 1.305 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/2.789, allocations: 215.9 kB / 1.305 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/2.789, allocations: 4 kB / 1.305 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/2.79, allocations: 63.98 kB / 1.305 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/2.79, allocations: 43.89 kB / 1.305 GB, free: 112 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/2.79, allocations: 16 kB / 1.305 GB, free: 112 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006881/2.791, allocations: 455.1 kB / 1.306 GB, free: 111.6 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.658e-06/2.791, allocations: 4 kB / 1.306 GB, free: 111.6 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001815/2.793, allocations: 490.8 kB / 1.306 GB, free: 111.1 MB / 0.8073 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) * 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.001115/2.794, allocations: 483.5 kB / 1.306 GB, free: 110.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002073/2.796, allocations: 0.8708 MB / 1.307 GB, free: 109.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.607e-06/2.796, allocations: 0 / 1.307 GB, free: 109.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005289/2.797, allocations: 271.3 kB / 1.308 GB, free: 109.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/2.799, allocations: 303.2 kB / 1.308 GB, free: 109.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/2.801, allocations: 0.9382 MB / 1.309 GB, free: 108.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/2.802, allocations: 1.002 MB / 1.31 GB, free: 107.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001139/2.803, allocations: 175.8 kB / 1.31 GB, free: 107 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/2.803, allocations: 47.42 kB / 1.31 GB, free: 106.9 MB / 0.8073 GB Notification: Performance of SimCode: time 1.928e-06/2.803, allocations: 0 / 1.31 GB, free: 106.9 MB / 0.8073 GB Notification: Performance of Templates: time 0.03514/2.838, allocations: 15.28 MB / 1.325 GB, free: 91.78 MB / 0.8073 GB