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.01508/0.01508, allocations: 107.3 kB / 15.06 MB, free: 6.039 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.001753/0.001753, allocations: 183.5 kB / 15.95 MB, free: 5.953 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 2.105/2.105, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.292/2.292, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004662, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.5422, allocations: 98.73 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02434/0.5666, allocations: 19.54 MB / 0.7024 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.5831, allocations: 8.553 MB / 0.7108 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.5846, allocations: 32.22 kB / 0.7108 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.5866, allocations: 0.5093 MB / 0.7113 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.5911, allocations: 1.094 MB / 0.7124 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.009592/0.6008, allocations: 2.413 MB / 0.7147 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003048/0.6038, allocations: 1.213 MB / 0.7159 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.6051, allocations: 0.5742 MB / 0.7165 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.6068, allocations: 0.6427 MB / 0.7171 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009976/0.6078, allocations: 0.5085 MB / 0.7176 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.608, allocations: 31.62 kB / 0.7176 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.6106, allocations: 0.8837 MB / 0.7185 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.6111, allocations: 160.1 kB / 0.7187 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.6115, allocations: 197.1 kB / 0.7188 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.6139, allocations: 0.9971 MB / 0.7198 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.419e-06/0.6139, allocations: 0 / 0.7198 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.876e-06/0.6139, allocations: 7.875 kB / 0.7198 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.6139, allocations: 0 / 0.7198 GB, free: 6.785 MB / 0.5417 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.002623/0.6166, allocations: 1.214 MB / 0.721 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6166, allocations: 9.344 kB / 0.721 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.6169, allocations: 110.2 kB / 0.7211 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.6184, allocations: 0.6319 MB / 0.7217 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.6185, allocations: 46.59 kB / 0.7218 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.6186, allocations: 60.88 kB / 0.7218 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.6201, allocations: 0.6225 MB / 0.7224 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.6201, allocations: 9.516 kB / 0.7225 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/0.6202, allocations: 21.41 kB / 0.7225 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.6203, allocations: 13.19 kB / 0.7225 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.6214, allocations: 435.1 kB / 0.7229 GB, free: 4.59 MB / 0.5417 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.005046/0.6265, allocations: 2.323 MB / 0.7252 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.6275, allocations: 340.5 kB / 0.7255 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/0.6279, allocations: 345.5 kB / 0.7258 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007382/0.6287, allocations: 319.1 kB / 0.7261 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 3.508e-06/0.6287, allocations: 0 / 0.7261 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.001823/0.6306, allocations: 0.6904 MB / 0.7268 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.6307, allocations: 243.3 kB / 0.727 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.6322, allocations: 0.8188 MB / 0.7278 GB, free: 312 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.6323, allocations: 41.77 kB / 0.7279 GB, free: 264 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.6328, allocations: 428.4 kB / 0.7283 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.6329, allocations: 114.4 kB / 0.7284 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.633, allocations: 12 kB / 0.7284 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6332, allocations: 330 kB / 0.7287 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.6337, allocations: 193 kB / 0.7289 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.6344, allocations: 337.4 kB / 0.7292 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.635, allocations: 243.7 kB / 0.7295 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.892e-06/0.6351, allocations: 0 / 0.7295 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00167/0.6367, allocations: 0.6472 MB / 0.7301 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005119/0.6373, allocations: 0.9118 MB / 0.731 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.757e-06/0.6373, allocations: 4 kB / 0.731 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.6373, allocations: 7.984 kB / 0.731 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.6386, allocations: 171.8 kB / 0.7312 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.6405, allocations: 1.778 MB / 0.7329 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.6417, allocations: 111.3 kB / 0.733 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.6419, allocations: 23.98 kB / 0.733 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.6419, allocations: 6.344 kB / 0.733 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002547/0.6445, allocations: 0.5606 MB / 0.7336 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.6445, allocations: 4 kB / 0.7336 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.6446, allocations: 4 kB / 0.7336 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.6459, allocations: 123.9 kB / 0.7337 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.646, allocations: 7.938 kB / 0.7337 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.6474, allocations: 99.66 kB / 0.7338 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.6476, allocations: 23.98 kB / 0.7338 GB, free: 9.926 MB / 0.5573 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.0009191/0.6485, allocations: 346.6 kB / 0.7342 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.6489, allocations: 98.77 kB / 0.7343 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.6514, allocations: 0.5858 MB / 0.7348 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.6514, allocations: 4 kB / 0.7348 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.6515, allocations: 4 kB / 0.7348 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6515, allocations: 0 / 0.7348 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.6559, allocations: 1.183 MB / 0.736 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.656, allocations: 4 kB / 0.736 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.6567, allocations: 83.88 kB / 0.7361 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.6567, allocations: 7.984 kB / 0.7361 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.6568, allocations: 16 kB / 0.7361 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.6581, allocations: 1.77 MB / 0.7378 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.101e-06/0.6581, allocations: 0 / 0.7378 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.6601, allocations: 0.8919 MB / 0.7387 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/0.6607, allocations: 211.8 kB / 0.7389 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.6608, allocations: 16 kB / 0.7389 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.6616, allocations: 60 kB / 0.739 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.6617, allocations: 39.89 kB / 0.739 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.6618, allocations: 27.92 kB / 0.739 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009999/0.6628, allocations: 0.5503 MB / 0.7396 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.82e-07/0.6628, allocations: 0 / 0.7396 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001635/0.6645, allocations: 451.1 kB / 0.74 GB, free: 3.363 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 28 * 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.000928/0.6654, allocations: 335.6 kB / 0.7403 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002939/0.6684, allocations: 0.9886 MB / 0.7413 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.958e-06/0.6684, allocations: 4 kB / 0.7413 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000895/0.6693, allocations: 332.8 kB / 0.7416 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/0.6718, allocations: 366.9 kB / 0.742 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.6754, allocations: 1.636 MB / 0.7436 GB, free: 15.65 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/0.6762, allocations: 1.001 MB / 0.7445 GB, free: 14.62 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009313/0.6772, allocations: 153.9 kB / 0.7447 GB, free: 14.47 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.6774, allocations: 63.42 kB / 0.7447 GB, free: 14.41 MB / 0.573 GB Notification: Performance of SimCode: time 1.816e-06/0.6774, allocations: 4 kB / 0.7447 GB, free: 14.4 MB / 0.573 GB Notification: Performance of Templates: time 0.03927/0.7167, allocations: 15.34 MB / 0.7597 GB, free: 15.26 MB / 0.5886 GB