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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.245/4.245, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.837e-05, allocations: 4.375 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9503/1.123, allocations: 386.1 MB / 1.012 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/1.124, allocations: 91.12 kB / 1.012 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.485/2.608, allocations: 290.4 MB / 1.296 GB, free: 125.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.961e-06/2.608, allocations: 0 / 1.296 GB, free: 125.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.478e-05/2.608, allocations: 27.98 kB / 1.296 GB, free: 125.5 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.002337/2.611, allocations: 1.217 MB / 1.297 GB, free: 124.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/2.611, allocations: 12.02 kB / 1.297 GB, free: 124.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/2.611, allocations: 114.7 kB / 1.297 GB, free: 124.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/2.613, allocations: 0.6483 MB / 1.297 GB, free: 123.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/2.613, allocations: 49.31 kB / 1.298 GB, free: 123.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/2.613, allocations: 64 kB / 1.298 GB, free: 123.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/2.614, allocations: 0.6212 MB / 1.298 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/2.614, allocations: 0 / 1.298 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/2.614, allocations: 20 kB / 1.298 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/2.614, allocations: 16 kB / 1.298 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/2.615, allocations: 408.1 kB / 1.299 GB, free: 122.2 MB / 0.823 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.004399/2.62, allocations: 2.388 MB / 1.301 GB, free: 119.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/2.62, allocations: 313 kB / 1.301 GB, free: 119.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/2.621, allocations: 173.1 kB / 1.301 GB, free: 119.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/2.621, allocations: 340.4 kB / 1.302 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/2.621, allocations: 325.7 kB / 1.302 GB, free: 118.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.469e-06/2.622, allocations: 0 / 1.302 GB, free: 118.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.001201/2.623, allocations: 484.4 kB / 1.303 GB, free: 118 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/2.623, allocations: 239.5 kB / 1.303 GB, free: 117.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/2.624, allocations: 0.7051 MB / 1.303 GB, free: 116.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/2.624, allocations: 45.69 kB / 1.303 GB, free: 116.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/2.624, allocations: 436.3 kB / 1.304 GB, free: 116.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/2.625, allocations: 114.5 kB / 1.304 GB, free: 116.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/2.625, allocations: 12 kB / 1.304 GB, free: 116.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/2.625, allocations: 330 kB / 1.304 GB, free: 116 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/2.625, allocations: 185.1 kB / 1.305 GB, free: 115.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/2.626, allocations: 370.5 kB / 1.305 GB, free: 115.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/2.626, allocations: 255.1 kB / 1.305 GB, free: 115.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.224e-06/2.626, allocations: 0 / 1.305 GB, free: 115.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001395/2.628, allocations: 0.651 MB / 1.306 GB, free: 114.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/2.628, allocations: 0.9067 MB / 1.307 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/2.628, allocations: 4 kB / 1.307 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/2.628, allocations: 7.953 kB / 1.307 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/2.629, allocations: 151.8 kB / 1.307 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008638/2.63, allocations: 1.778 MB / 1.309 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/2.631, allocations: 135.3 kB / 1.309 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/2.631, allocations: 31.98 kB / 1.309 GB, free: 111.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/2.631, allocations: 4.328 kB / 1.309 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001213/2.632, allocations: 0.553 MB / 1.309 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.589e-06/2.632, allocations: 4.062 kB / 1.309 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/2.632, allocations: 7.938 kB / 1.309 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/2.633, allocations: 131.8 kB / 1.309 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/2.633, allocations: 4 kB / 1.309 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/2.634, allocations: 123.3 kB / 1.309 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/2.634, allocations: 39.98 kB / 1.31 GB, free: 110.5 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 () * 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.0002413/2.635, allocations: 178.5 kB / 1.31 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/2.635, allocations: 86.97 kB / 1.31 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/2.636, allocations: 0.5496 MB / 1.31 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/2.636, allocations: 4 kB / 1.31 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/2.636, allocations: 0 / 1.31 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.528e-06/2.636, allocations: 7.938 kB / 1.31 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/2.638, allocations: 1.2 MB / 1.311 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.404e-06/2.638, allocations: 3.984 kB / 1.311 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/2.639, allocations: 87.83 kB / 1.312 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.757e-06/2.639, allocations: 4 kB / 1.312 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/2.639, allocations: 12 kB / 1.312 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006528/2.64, allocations: 1.766 MB / 1.313 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/2.64, allocations: 0 / 1.313 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/2.641, allocations: 0.7903 MB / 1.314 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/2.642, allocations: 227.8 kB / 1.314 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/2.642, allocations: 8 kB / 1.314 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/2.643, allocations: 80.03 kB / 1.314 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/2.643, allocations: 43.92 kB / 1.314 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/2.643, allocations: 19.94 kB / 1.314 GB, free: 105.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008901/2.644, allocations: 0.5668 MB / 1.315 GB, free: 104.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.16e-07/2.644, allocations: 0 / 1.315 GB, free: 104.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001665/2.645, allocations: 499.2 kB / 1.315 GB, free: 104.1 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) * 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.001045/2.646, allocations: 486.8 kB / 1.316 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002605/2.649, allocations: 0.9111 MB / 1.317 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.429e-06/2.649, allocations: 0 / 1.317 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/2.65, allocations: 285.1 kB / 1.317 GB, free: 102.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/2.652, allocations: 365.1 kB / 1.317 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/2.654, allocations: 0.9771 MB / 1.318 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/2.655, allocations: 1.007 MB / 1.319 GB, free: 100 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001213/2.656, allocations: 204.9 kB / 1.32 GB, free: 99.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/2.656, allocations: 51.42 kB / 1.32 GB, free: 99.77 MB / 0.823 GB Notification: Performance of SimCode: time 1.798e-06/2.656, allocations: 0 / 1.32 GB, free: 99.77 MB / 0.823 GB Notification: Performance of Templates: time 0.04012/2.696, allocations: 18.73 MB / 1.338 GB, free: 81.21 MB / 0.823 GB