Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.95/4.95, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 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.002483/0.002483, allocations: 359.8 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.323/4.323, allocations: 410.7 MB / 1.113 GB, free: 5.98 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.001796/0.001796, allocations: 189 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006425/0.0006427, allocations: 12 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7351, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1274/0.8626, allocations: 104.6 MB / 1.563 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.04338/0.906, allocations: 22.37 MB / 1.585 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004762/0.9108, allocations: 103.1 kB / 1.585 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006192/0.9171, allocations: 1.378 MB / 1.587 GB, free: 156 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01526/0.9324, allocations: 3.716 MB / 1.59 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01927/0.9517, allocations: 5.214 MB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.9634, allocations: 8.047 MB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003653/0.9671, allocations: 1.794 MB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005712/0.9728, allocations: 2.127 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004321/0.9772, allocations: 1.902 MB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006923/0.9779, allocations: 88 kB / 1.609 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.9823, allocations: 0.9783 MB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.9834, allocations: 493.7 kB / 1.611 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.9847, allocations: 0.5627 MB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.9902, allocations: 3.187 MB / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9903, allocations: 0 / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9903, allocations: 0 / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001126/0.9904, allocations: 0 / 1.614 GB, free: 128 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006794/0.9972, allocations: 2.661 MB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.9973, allocations: 12.02 kB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.9984, allocations: 312.3 kB / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005198/1.004, allocations: 2.039 MB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/1.004, allocations: 123 kB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/1.004, allocations: 175.9 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/1.008, allocations: 1.599 MB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.039e-05/1.008, allocations: 4 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/1.008, allocations: 63.95 kB / 1.621 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/1.008, allocations: 40 kB / 1.621 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/1.012, allocations: 1.147 MB / 1.622 GB, free: 119.6 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.01463/1.026, allocations: 7.886 MB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/1.027, allocations: 477.8 kB / 1.63 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007408/1.028, allocations: 327 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006444/1.029, allocations: 0.7602 MB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/1.029, allocations: 47 kB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=60): time 3.095e-06/1.029, allocations: 0 / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60): time 0.002894/1.032, allocations: 0.9998 MB / 1.632 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/1.032, allocations: 55.97 kB / 1.632 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004048/1.036, allocations: 2.242 MB / 1.635 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/1.036, allocations: 45.7 kB / 1.635 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/1.037, allocations: 1.141 MB / 1.636 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/1.038, allocations: 212.9 kB / 1.636 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/1.038, allocations: 24 kB / 1.636 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/1.038, allocations: 353.9 kB / 1.636 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009609/1.039, allocations: 338.5 kB / 1.637 GB, free: 104 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/1.04, allocations: 0.7384 MB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/1.041, allocations: 466.8 kB / 1.638 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/1.041, allocations: 4 kB / 1.638 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003461/1.045, allocations: 1.268 MB / 1.639 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/1.045, allocations: 342.7 kB / 1.639 GB, free: 101 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.045, allocations: 8 kB / 1.639 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-05/1.045, allocations: 16 kB / 1.639 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/1.047, allocations: 255.6 kB / 1.64 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.323e-05/1.047, allocations: 19.94 kB / 1.64 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/1.05, allocations: 258 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/1.05, allocations: 51.98 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.05, allocations: 4 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002636/1.053, allocations: 1.023 MB / 1.641 GB, free: 99.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.053, allocations: 8 kB / 1.641 GB, free: 99.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.053, allocations: 16.03 kB / 1.641 GB, free: 99.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/1.055, allocations: 255.6 kB / 1.641 GB, free: 99.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/1.055, allocations: 19.92 kB / 1.641 GB, free: 99.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/1.058, allocations: 222.7 kB / 1.641 GB, free: 98.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/1.058, allocations: 51.98 kB / 1.642 GB, free: 98.77 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001403/1.06, allocations: 0.5748 MB / 1.642 GB, free: 98.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006283/1.06, allocations: 241 kB / 1.642 GB, free: 97.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/1.063, allocations: 0.8844 MB / 1.643 GB, free: 97.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/1.064, allocations: 0.6969 MB / 1.644 GB, free: 96.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/1.064, allocations: 3.938 kB / 1.644 GB, free: 96.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.066, allocations: 445.8 kB / 1.644 GB, free: 95.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/1.066, allocations: 16 kB / 1.644 GB, free: 95.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/1.068, allocations: 125 kB / 1.644 GB, free: 95.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.069, allocations: 36.52 kB / 1.644 GB, free: 95.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002248/1.071, allocations: 0.7877 MB / 1.645 GB, free: 94.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002971/1.074, allocations: 1.402 MB / 1.647 GB, free: 93.48 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006804/1.075, allocations: 312.4 kB / 1.647 GB, free: 93.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003026/1.078, allocations: 1.49 MB / 1.648 GB, free: 91.68 MB / 0.8542 GB Notification: Performance of Backend: time 1.022e-06/1.078, allocations: 4 kB / 1.648 GB, free: 91.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006415/1.084, allocations: 1.918 MB / 1.65 GB, free: 89.96 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01771/1.102, allocations: 5.871 MB / 1.656 GB, free: 84.06 MB / 0.8542 GB Notification: Performance of Templates: time 0.1104/1.212, allocations: 47.43 MB / 1.702 GB, free: 37.32 MB / 0.8542 GB