Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.613/4.613, allocations: 0.5623 GB / 0.5769 GB, free: 3.277 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.002393/0.002393, allocations: 355.3 kB / 0.644 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 3.837/3.837, allocations: 410.7 MB / 1.112 GB, free: 5.977 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.00177/0.00177, allocations: 177.3 kB / 1.225 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.000536, allocations: 12 kB / 1.348 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5679, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0157/0.5837, allocations: 16.1 MB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009732/0.5934, allocations: 6.955 MB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005757/0.5941, allocations: 15.88 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008571/0.5949, allocations: 254.5 kB / 1.484 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.5965, allocations: 0.578 MB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005196/0.6017, allocations: 1.759 MB / 1.486 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.6029, allocations: 1.083 MB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.6033, allocations: 269 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.6039, allocations: 339.2 kB / 1.487 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.6042, allocations: 288.5 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.6043, allocations: 15.94 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009314/0.6053, allocations: 427.5 kB / 1.488 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.6054, allocations: 117.5 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.6055, allocations: 113.5 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.6061, allocations: 0.5378 MB / 1.489 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.24e-06/0.6062, allocations: 0 / 1.489 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.978e-06/0.6062, allocations: 0 / 1.489 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.38e-06/0.6062, allocations: 0 / 1.489 GB, free: 255.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00106/0.6072, allocations: 0.7776 MB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.6073, allocations: 11.62 kB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.6075, allocations: 65.12 kB / 1.49 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.6081, allocations: 421.8 kB / 1.49 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6081, allocations: 20.56 kB / 1.49 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.6082, allocations: 35.89 kB / 1.49 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.6087, allocations: 285.6 kB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.6088, allocations: 0 / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.6088, allocations: 12 kB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.576e-06/0.6088, allocations: 13.27 kB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.6093, allocations: 197.8 kB / 1.491 GB, free: 253.8 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.001854/0.6112, allocations: 1.486 MB / 1.492 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.6116, allocations: 164.1 kB / 1.492 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.6118, allocations: 92 kB / 1.492 GB, free: 252 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/0.6133, allocations: 1.296 MB / 1.494 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.6134, allocations: 35.16 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.777e-06/0.6134, allocations: 0.6562 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0007097/0.6141, allocations: 265.2 kB / 1.494 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.6141, allocations: 59.34 kB / 1.494 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.6148, allocations: 0.573 MB / 1.495 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.6149, allocations: 35.11 kB / 1.495 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.6151, allocations: 268.1 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.6151, allocations: 55.2 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.6151, allocations: 4 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.6152, allocations: 364.2 kB / 1.495 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.6155, allocations: 77.8 kB / 1.495 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.6158, allocations: 207.6 kB / 1.495 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.616, allocations: 108.2 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-06/0.6161, allocations: 0.5938 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006832/0.6168, allocations: 317.1 kB / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.033e-05/0.6168, allocations: 158.4 kB / 1.496 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.35e-06/0.6169, allocations: 0 / 1.496 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6169, allocations: 14.39 kB / 1.496 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.6172, allocations: 63.91 kB / 1.496 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.6172, allocations: 7.984 kB / 1.496 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.6177, allocations: 50.42 kB / 1.496 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.6177, allocations: 19.92 kB / 1.496 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.318e-06/0.6177, allocations: 4 kB / 1.496 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000565/0.6183, allocations: 239.5 kB / 1.496 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6183, allocations: 8.625 kB / 1.496 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.749e-06/0.6184, allocations: 4.594 kB / 1.496 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.6186, allocations: 65.53 kB / 1.496 GB, free: 247.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.973e-06/0.6187, allocations: 7.984 kB / 1.496 GB, free: 247.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.6191, allocations: 53.59 kB / 1.497 GB, free: 247.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.6191, allocations: 16 kB / 1.497 GB, free: 247.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002176/0.6193, allocations: 261.2 kB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.409e-05/0.6194, allocations: 56.34 kB / 1.497 GB, free: 247 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.6201, allocations: 273.2 kB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.199e-06/0.6201, allocations: 3.984 kB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6201, allocations: 5.969 kB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.452e-06/0.6201, allocations: 3.953 kB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.6213, allocations: 0.7367 MB / 1.498 GB, free: 246 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.949e-06/0.6213, allocations: 0 / 1.498 GB, free: 246 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.6215, allocations: 36.48 kB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.779e-06/0.6215, allocations: 10.83 kB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.6215, allocations: 0 / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.454e-06/0.6215, allocations: 7.984 kB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.637e-06/0.6215, allocations: 3.938 kB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.6221, allocations: 353.9 kB / 1.498 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.6222, allocations: 156.4 kB / 1.498 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/0.6223, allocations: 1.156 kB / 1.498 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.6226, allocations: 30.53 kB / 1.498 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.6227, allocations: 19.88 kB / 1.498 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.6227, allocations: 8 kB / 1.498 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004803/0.6232, allocations: 411.7 kB / 1.499 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.76e-07/0.6232, allocations: 0 / 1.499 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008668/0.6241, allocations: 231.7 kB / 1.499 GB, free: 244.7 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001452/0.6255, allocations: 488.3 kB / 1.5 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008068/0.6264, allocations: 328.8 kB / 1.5 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.999e-06/0.6264, allocations: 0 / 1.5 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.6266, allocations: 95.02 kB / 1.5 GB, free: 244 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6281, allocations: 248.7 kB / 1.5 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.6295, allocations: 0.9576 MB / 1.501 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.6299, allocations: 0.851 MB / 1.502 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004514/0.6303, allocations: 103.3 kB / 1.502 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.326e-05/0.6304, allocations: 47.36 kB / 1.502 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.218e-06/0.6305, allocations: 0 / 1.502 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01948/0.6499, allocations: 9.607 MB / 1.511 GB, free: 232.5 MB / 0.8542 GB