Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.986/4.986, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002461/0.002461, allocations: 365.1 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.334/4.334, allocations: 410.7 MB / 1.113 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 166.7 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.0006652, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7688, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02725/0.7961, allocations: 21.55 MB / 1.482 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.8132, allocations: 8.972 MB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.8146, allocations: 31.69 kB / 1.491 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.8165, allocations: 455.6 kB / 1.492 GB, free: 253.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.8208, allocations: 1.084 MB / 1.493 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01121/0.832, allocations: 2.523 MB / 1.495 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004237/0.8363, allocations: 2.15 MB / 1.497 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.8381, allocations: 0.5668 MB / 1.498 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.8404, allocations: 0.6659 MB / 1.498 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.8424, allocations: 0.6326 MB / 1.499 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.8427, allocations: 32.75 kB / 1.499 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.8459, allocations: 0.8616 MB / 1.5 GB, free: 245 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.8465, allocations: 160 kB / 1.5 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.847, allocations: 197.1 kB / 1.5 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.8497, allocations: 1.022 MB / 1.501 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.8498, allocations: 1.969 kB / 1.501 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8498, allocations: 0 / 1.501 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.15e-05/0.8498, allocations: 4 kB / 1.501 GB, free: 243.6 MB / 0.8542 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.003773/0.8536, allocations: 1.237 MB / 1.502 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.8537, allocations: 12.56 kB / 1.502 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.8541, allocations: 114.6 kB / 1.503 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.8562, allocations: 0.6426 MB / 1.503 GB, free: 241.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.8564, allocations: 50.97 kB / 1.503 GB, free: 241.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.8566, allocations: 64 kB / 1.503 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.8588, allocations: 0.6627 MB / 1.504 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.8589, allocations: 5.156 kB / 1.504 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.859, allocations: 26.22 kB / 1.504 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.8591, allocations: 12 kB / 1.504 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.8608, allocations: 454.9 kB / 1.504 GB, free: 240.2 MB / 0.8542 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.006756/0.8676, allocations: 2.54 MB / 1.507 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.8692, allocations: 379.3 kB / 1.507 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.87, allocations: 196.1 kB / 1.507 GB, free: 237 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.8704, allocations: 344.4 kB / 1.508 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.8715, allocations: 322 kB / 1.508 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 4.559e-06/0.8715, allocations: 0 / 1.508 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.002749/0.8742, allocations: 0.707 MB / 1.509 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.8744, allocations: 243.2 kB / 1.509 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.8762, allocations: 0.8204 MB / 1.51 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.8764, allocations: 46.53 kB / 1.51 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.877, allocations: 436.3 kB / 1.51 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.8772, allocations: 120.8 kB / 1.51 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.8773, allocations: 12 kB / 1.51 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.8774, allocations: 326 kB / 1.511 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/0.8783, allocations: 204.6 kB / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/0.8793, allocations: 366.1 kB / 1.511 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009047/0.8802, allocations: 260.9 kB / 1.512 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.8802, allocations: 0 / 1.512 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002573/0.8828, allocations: 0.7302 MB / 1.512 GB, free: 231.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.883, allocations: 197.7 kB / 1.512 GB, free: 231.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.883, allocations: 4 kB / 1.512 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.8831, allocations: 4 kB / 1.512 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/0.8855, allocations: 187.7 kB / 1.513 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.8868, allocations: 1.774 MB / 1.514 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.8886, allocations: 115.3 kB / 1.514 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.8888, allocations: 27.98 kB / 1.514 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.8889, allocations: 4 kB / 1.514 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002367/0.8912, allocations: 0.6387 MB / 1.515 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.8913, allocations: 4 kB / 1.515 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8913, allocations: 7.984 kB / 1.515 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.8927, allocations: 127.8 kB / 1.515 GB, free: 228.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.8927, allocations: 7.984 kB / 1.515 GB, free: 228.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.8944, allocations: 103.6 kB / 1.515 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.8945, allocations: 28.56 kB / 1.515 GB, free: 228.6 MB / 0.8542 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * 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.0007139/0.8952, allocations: 346.2 kB / 1.516 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.8955, allocations: 102.7 kB / 1.516 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.898, allocations: 0.6763 MB / 1.516 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.8981, allocations: 11.94 kB / 1.516 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.8981, allocations: 0 / 1.516 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006095/0.8987, allocations: 223.7 kB / 1.517 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.899, allocations: 10.72 kB / 1.517 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.9001, allocations: 59.94 kB / 1.517 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.9004, allocations: 43.88 kB / 1.517 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003228/0.9036, allocations: 0.9709 MB / 1.518 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002757/0.9064, allocations: 1.201 MB / 1.519 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006241/0.9071, allocations: 245 kB / 1.519 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009708/0.9081, allocations: 0.5549 MB / 1.52 GB, free: 224 MB / 0.8542 GB Notification: Performance of Backend: time 6.92e-07/0.9081, allocations: 0 / 1.52 GB, free: 224 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004746/0.9129, allocations: 1.197 MB / 1.521 GB, free: 222.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.005222/0.9181, allocations: 2.32 MB / 1.523 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.07717/0.9954, allocations: 17.25 MB / 1.54 GB, free: 203.6 MB / 0.8542 GB