Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.855/4.855, allocations: 0.5623 GB / 0.5776 GB, free: 3.402 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.002493/0.002492, allocations: 356.6 kB / 0.6447 GB, free: 185.7 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.315/4.315, allocations: 410.7 MB / 1.113 GB, free: 5.93 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.001833/0.001833, allocations: 183.3 kB / 1.226 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005061, allocations: 19.98 kB / 1.349 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7809, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03235/0.8133, allocations: 27.75 MB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02421/0.8376, allocations: 10.81 MB / 1.499 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.8398, allocations: 39.62 kB / 1.499 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.8428, allocations: 0.5107 MB / 1.5 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007914/0.8508, allocations: 1.374 MB / 1.501 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0148/0.8656, allocations: 2.917 MB / 1.504 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00523/0.8709, allocations: 3.509 MB / 1.507 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.8731, allocations: 1.081 MB / 1.508 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.8764, allocations: 1.247 MB / 1.509 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.8808, allocations: 1.548 MB / 1.511 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0007211/0.8816, allocations: 64 kB / 1.511 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.8845, allocations: 0.8654 MB / 1.512 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007484/0.8853, allocations: 318.8 kB / 1.512 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.8859, allocations: 245.1 kB / 1.512 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.8885, allocations: 1.535 MB / 1.514 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.8886, allocations: 1.062 kB / 1.514 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8886, allocations: 0 / 1.514 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.554e-05/0.8886, allocations: 0 / 1.514 GB, free: 230.8 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003355/0.892, allocations: 1.323 MB / 1.515 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.8921, allocations: 13.62 kB / 1.515 GB, free: 229.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006295/0.8927, allocations: 146.5 kB / 1.515 GB, free: 229.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.8953, allocations: 0.8631 MB / 1.516 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.8955, allocations: 77.31 kB / 1.516 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.8959, allocations: 116 kB / 1.516 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.8975, allocations: 0.6434 MB / 1.517 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.8976, allocations: 0 / 1.517 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.8977, allocations: 20 kB / 1.517 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.8977, allocations: 19.94 kB / 1.517 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.8991, allocations: 468.9 kB / 1.517 GB, free: 227.1 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.007189/0.9063, allocations: 2.873 MB / 1.52 GB, free: 224 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.9073, allocations: 315.9 kB / 1.521 GB, free: 223.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.9079, allocations: 154.5 kB / 1.521 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.9082, allocations: 340.7 kB / 1.521 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.9082, allocations: 42.78 kB / 1.521 GB, free: 223.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 3.446e-06/0.9083, allocations: 0 / 1.521 GB, free: 223.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.002147/0.9104, allocations: 0.5467 MB / 1.522 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.9105, allocations: 51.41 kB / 1.522 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.9119, allocations: 0.8868 MB / 1.523 GB, free: 221.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003584/0.9123, allocations: 65.64 kB / 1.523 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/0.9129, allocations: 0.5258 MB / 1.523 GB, free: 221 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.913, allocations: 114.4 kB / 1.523 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.9131, allocations: 12 kB / 1.523 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.9132, allocations: 330 kB / 1.524 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.9138, allocations: 181.2 kB / 1.524 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.9156, allocations: 1.139 MB / 1.525 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.9166, allocations: 307.4 kB / 1.525 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.9166, allocations: 0 / 1.525 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002262/0.9189, allocations: 0.6434 MB / 1.526 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/0.919, allocations: 152.3 kB / 1.526 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.919, allocations: 0 / 1.526 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.9191, allocations: 15.95 kB / 1.526 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.9217, allocations: 231.6 kB / 1.526 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.9234, allocations: 2.958 MB / 1.529 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006376/0.9298, allocations: 0.7495 MB / 1.53 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.93, allocations: 27.98 kB / 1.53 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.9301, allocations: 4 kB / 1.53 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/0.9317, allocations: 0.4971 MB / 1.53 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9317, allocations: 192 / 1.53 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.9317, allocations: 13.78 kB / 1.53 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.9331, allocations: 163.8 kB / 1.53 GB, free: 213 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.9331, allocations: 4 kB / 1.53 GB, free: 213 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006198/0.9393, allocations: 0.7339 MB / 1.531 GB, free: 212.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.9395, allocations: 31.98 kB / 1.531 GB, free: 212.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007872/0.9403, allocations: 326 kB / 1.531 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.9406, allocations: 94.73 kB / 1.532 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.9424, allocations: 0.5274 MB / 1.532 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.9424, allocations: 4 kB / 1.532 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9424, allocations: 3.984 kB / 1.532 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.9429, allocations: 215.7 kB / 1.532 GB, free: 211 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.9431, allocations: 8 kB / 1.532 GB, free: 211 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.9442, allocations: 67.78 kB / 1.532 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.9443, allocations: 20.3 kB / 1.532 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001935/0.9462, allocations: 0.5642 MB / 1.533 GB, free: 210.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001991/0.9483, allocations: 0.832 MB / 1.534 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005086/0.9488, allocations: 177.9 kB / 1.534 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001032/0.9499, allocations: 0.5845 MB / 1.535 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of Backend: time 8.41e-07/0.9499, allocations: 0 / 1.535 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005425/0.9554, allocations: 1.041 MB / 1.536 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.005862/0.9613, allocations: 2.467 MB / 1.538 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.0572/1.019, allocations: 24.99 MB / 1.562 GB, free: 180.9 MB / 0.8542 GB