Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.614/4.614, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002351/0.00235, allocations: 354 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.917/3.917, allocations: 410.7 MB / 1.112 GB, free: 5.984 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.001761/0.001761, allocations: 182.6 kB / 1.225 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004991, allocations: 16 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5752/0.5757, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01363/0.5893, allocations: 14.36 MB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009529/0.5989, allocations: 6.568 MB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.5996, allocations: 19.81 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00096/0.6006, allocations: 291.4 kB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.6023, allocations: 0.6144 MB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005541/0.6078, allocations: 1.921 MB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.609, allocations: 1.115 MB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.6094, allocations: 258.3 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.6099, allocations: 350.4 kB / 1.486 GB, free: 259 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.6103, allocations: 293.2 kB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.141e-05/0.6104, allocations: 19.94 kB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007923/0.6112, allocations: 371.1 kB / 1.486 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.6113, allocations: 87.59 kB / 1.486 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.6114, allocations: 105.5 kB / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.6119, allocations: 472.1 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.612, allocations: 4 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.547e-06/0.612, allocations: 0 / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.612, allocations: 0.9062 kB / 1.487 GB, free: 257.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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001017/0.613, allocations: 0.7265 MB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6131, allocations: 11.62 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.845e-05/0.6132, allocations: 68.12 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.6137, allocations: 389.6 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.6138, allocations: 25.28 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.6138, allocations: 28 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.6143, allocations: 212.8 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.6143, allocations: 4.594 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.6144, allocations: 13.44 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.251e-06/0.6144, allocations: 4 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.6148, allocations: 172 kB / 1.488 GB, free: 256 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.001617/0.6165, allocations: 0.9526 MB / 1.489 GB, free: 255 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.6168, allocations: 136.6 kB / 1.49 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.617, allocations: 78.09 kB / 1.49 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.6173, allocations: 340.9 kB / 1.49 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.6173, allocations: 31.78 kB / 1.49 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.308e-06/0.6173, allocations: 0 / 1.49 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.000689/0.618, allocations: 255.6 kB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.618, allocations: 51.41 kB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.6186, allocations: 471.3 kB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.6186, allocations: 33.7 kB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.6188, allocations: 226.1 kB / 1.491 GB, free: 253.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.6188, allocations: 51.42 kB / 1.491 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.6189, allocations: 0 / 1.491 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.619, allocations: 354.8 kB / 1.491 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.6192, allocations: 78.09 kB / 1.491 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.6195, allocations: 146.3 kB / 1.492 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.6197, allocations: 96.08 kB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-06/0.6197, allocations: 0 / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005792/0.6203, allocations: 251.8 kB / 1.492 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.6204, allocations: 116.5 kB / 1.492 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.081e-06/0.6204, allocations: 0 / 1.492 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6204, allocations: 7.938 kB / 1.492 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.6207, allocations: 49.22 kB / 1.492 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.108e-06/0.6207, allocations: 4 kB / 1.492 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.6211, allocations: 45.56 kB / 1.492 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.6212, allocations: 12.97 kB / 1.492 GB, free: 252 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.6212, allocations: 4 kB / 1.492 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005145/0.6217, allocations: 198 kB / 1.492 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-06/0.6218, allocations: 4.469 kB / 1.492 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-06/0.6218, allocations: 1.344 kB / 1.492 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.622, allocations: 47.97 kB / 1.492 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.066e-06/0.6221, allocations: 96 / 1.492 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.6225, allocations: 46.66 kB / 1.492 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.6225, allocations: 12 kB / 1.492 GB, free: 251.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001844/0.6227, allocations: 238 kB / 1.493 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.6228, allocations: 48.39 kB / 1.493 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006079/0.6234, allocations: 257.3 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.226e-06/0.6234, allocations: 4.562 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.423e-06/0.6235, allocations: 0.625 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.239e-06/0.6235, allocations: 4.547 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.6245, allocations: 0.7046 MB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.416e-06/0.6246, allocations: 0.5938 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.6247, allocations: 33.94 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6248, allocations: 4 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.6248, allocations: 8 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.508e-06/0.6248, allocations: 0 / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.263e-06/0.6248, allocations: 7.938 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.6253, allocations: 367.1 kB / 1.494 GB, free: 250 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.6255, allocations: 143 kB / 1.494 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.6255, allocations: 0.5 kB / 1.494 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.6259, allocations: 26.86 kB / 1.494 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.6259, allocations: 11.92 kB / 1.494 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.626, allocations: 11.98 kB / 1.494 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003769/0.6263, allocations: 331.5 kB / 1.495 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.55e-07/0.6264, allocations: 0.9062 kB / 1.495 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007517/0.6271, allocations: 191.6 kB / 1.495 GB, free: 249.3 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 (16): * Single equations (assignments): 14 * 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.001407/0.6285, allocations: 480.3 kB / 1.495 GB, free: 249 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007201/0.6293, allocations: 290 kB / 1.495 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.21e-06/0.6293, allocations: 0 / 1.495 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.6295, allocations: 85.7 kB / 1.496 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.631, allocations: 222.9 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6323, allocations: 0.8224 MB / 1.497 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.6325, allocations: 0.8355 MB / 1.497 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000379/0.6329, allocations: 99.11 kB / 1.497 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.33e-05/0.633, allocations: 31.44 kB / 1.498 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.441e-06/0.6331, allocations: 0 / 1.498 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01802/0.6511, allocations: 8.128 MB / 1.505 GB, free: 238.8 MB / 0.8542 GB