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.584/4.584, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 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.002399/0.002398, allocations: 354.3 kB / 0.644 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 3.945/3.945, allocations: 410.7 MB / 1.112 GB, free: 5.918 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.001749/0.001749, allocations: 184.6 kB / 1.225 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004871, allocations: 12 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.566/0.5665, 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.02536/0.5919, allocations: 27.74 MB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.607, allocations: 10.82 MB / 1.498 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.6082, allocations: 41.22 kB / 1.498 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.6095, allocations: 0.5095 MB / 1.499 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.6133, allocations: 1.37 MB / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.008151/0.6214, allocations: 2.918 MB / 1.503 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003673/0.6251, allocations: 3.511 MB / 1.507 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.6264, allocations: 1.078 MB / 1.508 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.6281, allocations: 1.245 MB / 1.509 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/0.6304, allocations: 1.554 MB / 1.51 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002984/0.6307, allocations: 64 kB / 1.51 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.6326, allocations: 0.8654 MB / 1.511 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.633, allocations: 326.8 kB / 1.512 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.6333, allocations: 245.1 kB / 1.512 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.6348, allocations: 1.535 MB / 1.513 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.945e-06/0.6348, allocations: 0 / 1.513 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6348, allocations: 3.938 kB / 1.513 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.6348, allocations: 0 / 1.513 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.002121/0.6369, allocations: 1.321 MB / 1.515 GB, free: 229.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.637, allocations: 11.62 kB / 1.515 GB, free: 229.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.6374, allocations: 150.5 kB / 1.515 GB, free: 229.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.6391, allocations: 0.8641 MB / 1.516 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.6392, allocations: 77.31 kB / 1.516 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.6394, allocations: 120 kB / 1.516 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.6405, allocations: 0.6356 MB / 1.516 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.6406, allocations: 0 / 1.516 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.6407, allocations: 24 kB / 1.516 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.6407, allocations: 12 kB / 1.516 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.6418, allocations: 472.9 kB / 1.517 GB, free: 227 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.00447/0.6463, allocations: 2.879 MB / 1.52 GB, free: 224 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.647, allocations: 316.1 kB / 1.52 GB, free: 223.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.6474, allocations: 151.5 kB / 1.52 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.6476, allocations: 340.7 kB / 1.52 GB, free: 223.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.6476, allocations: 38.78 kB / 1.52 GB, free: 223.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 2.568e-06/0.6477, allocations: 0 / 1.52 GB, free: 223.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001422/0.6491, allocations: 0.5467 MB / 1.521 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.6491, allocations: 55.41 kB / 1.521 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.6502, allocations: 0.8868 MB / 1.522 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.6504, allocations: 57.7 kB / 1.522 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.6508, allocations: 0.5297 MB / 1.523 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/0.6509, allocations: 118.4 kB / 1.523 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.6509, allocations: 8 kB / 1.523 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.651, allocations: 326 kB / 1.523 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.6515, allocations: 185.2 kB / 1.523 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.6527, allocations: 1.135 MB / 1.524 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.6533, allocations: 306.8 kB / 1.525 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.203e-06/0.6534, allocations: 0 / 1.525 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001451/0.6548, allocations: 0.6433 MB / 1.525 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.6549, allocations: 148.3 kB / 1.525 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.6549, allocations: 7.938 kB / 1.525 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.6549, allocations: 8 kB / 1.525 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.6566, allocations: 239.6 kB / 1.526 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.6578, allocations: 2.961 MB / 1.528 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.6614, allocations: 0.7495 MB / 1.529 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/0.6615, allocations: 27.98 kB / 1.529 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.052e-06/0.6615, allocations: 4 kB / 1.529 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.6627, allocations: 0.4952 MB / 1.53 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.646e-06/0.6627, allocations: 0 / 1.53 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.49e-06/0.6627, allocations: 11.94 kB / 1.53 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/0.6635, allocations: 168 kB / 1.53 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.772e-06/0.6635, allocations: 4 kB / 1.53 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/0.6669, allocations: 0.7339 MB / 1.531 GB, free: 212.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.667, allocations: 27.98 kB / 1.531 GB, free: 212.1 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.0004566/0.6675, allocations: 330 kB / 1.531 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.6676, allocations: 102.7 kB / 1.531 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.6689, allocations: 0.5252 MB / 1.532 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.6689, allocations: 4 kB / 1.532 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.333e-06/0.6689, allocations: 0 / 1.532 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.454e-06/0.669, allocations: 7.984 kB / 1.532 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.6711, allocations: 1.254 MB / 1.533 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.405e-06/0.6711, allocations: 4 kB / 1.533 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.6718, allocations: 124.8 kB / 1.533 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.786e-06/0.6718, allocations: 4 kB / 1.533 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.6719, allocations: 11.98 kB / 1.533 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009997/0.6729, allocations: 2.95 MB / 1.536 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.773e-06/0.6729, allocations: 0 / 1.536 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009606/0.6739, allocations: 0.57 MB / 1.536 GB, free: 206 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.6742, allocations: 223.7 kB / 1.537 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.6743, allocations: 12 kB / 1.537 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.675, allocations: 59.84 kB / 1.537 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.6751, allocations: 27.95 kB / 1.537 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.6751, allocations: 16 kB / 1.537 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007736/0.6759, allocations: 0.5922 MB / 1.537 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.47e-07/0.6759, allocations: 0 / 1.537 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001478/0.6774, allocations: 0.5306 MB / 1.538 GB, free: 204.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0006545/0.6781, allocations: 331.8 kB / 1.538 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002706/0.6808, allocations: 0.8355 MB / 1.539 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.813e-06/0.6808, allocations: 4 kB / 1.539 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.6816, allocations: 235.6 kB / 1.539 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.6844, allocations: 492.9 kB / 1.54 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.6869, allocations: 1.784 MB / 1.541 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.6874, allocations: 1.037 MB / 1.542 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001131/0.6885, allocations: 206.7 kB / 1.543 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.6888, allocations: 87.41 kB / 1.543 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.598e-06/0.6888, allocations: 0 / 1.543 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.04345/0.7322, allocations: 23.74 MB / 1.566 GB, free: 176.5 MB / 0.8542 GB