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 2.466/2.466, allocations: 287.9 MB / 302.9 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001438, allocations: 177.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.001039, allocations: 107 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004636, allocations: 12.34 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01545/0.1718, allocations: 13.26 MB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.1842, allocations: 6.354 MB / 0.9979 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.1852, allocations: 19.81 kB / 0.9979 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.1871, allocations: 334.6 kB / 0.9982 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.1904, allocations: 0.6075 MB / 0.9988 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007248/0.1977, allocations: 1.861 MB / 1.001 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.1989, allocations: 0.6287 MB / 1.001 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.1994, allocations: 254.5 kB / 1.002 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.1999, allocations: 338.8 kB / 1.002 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.2003, allocations: 227 kB / 1.002 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.2003, allocations: 16 kB / 1.002 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008966/0.2013, allocations: 395.3 kB / 1.002 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.861e-05/0.2014, allocations: 79.66 kB / 1.003 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2015, allocations: 105.5 kB / 1.003 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.2021, allocations: 474.8 kB / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.271e-06/0.2021, allocations: 0 / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.08e-06/0.2021, allocations: 0 / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.696e-06/0.2022, allocations: 0 / 1.003 GB, free: 3.238 MB / 0.6198 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.001045/0.2032, allocations: 0.7357 MB / 1.004 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2033, allocations: 8.031 kB / 1.004 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.2034, allocations: 59.3 kB / 1.004 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.2039, allocations: 393 kB / 1.004 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.204, allocations: 20.44 kB / 1.004 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.204, allocations: 24 kB / 1.004 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.2045, allocations: 215.2 kB / 1.004 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2046, allocations: 0 / 1.004 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.2046, allocations: 11.94 kB / 1.004 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.522e-06/0.2046, allocations: 4 kB / 1.004 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.2051, allocations: 181.6 kB / 1.005 GB, free: 1.516 MB / 0.6198 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.001689/0.2068, allocations: 0.9535 MB / 1.006 GB, free: 496 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.2071, allocations: 130.6 kB / 1.006 GB, free: 356 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.2074, allocations: 336.4 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2075, allocations: 46.44 kB / 1.006 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.901e-06/0.2075, allocations: 0 / 1.006 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0008214/0.2083, allocations: 255.1 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2084, allocations: 51.41 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.2091, allocations: 465.9 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.2091, allocations: 29.7 kB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.2094, allocations: 232.6 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.2095, allocations: 51.36 kB / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.2095, allocations: 4 kB / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.2097, allocations: 346.8 kB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.21, allocations: 79.81 kB / 1.008 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.2103, allocations: 157.2 kB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.2106, allocations: 81.55 kB / 1.008 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.2107, allocations: 3.953 kB / 1.008 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007259/0.2114, allocations: 264.9 kB / 1.008 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.2116, allocations: 268.4 kB / 1.008 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.9e-06/0.2116, allocations: 4 kB / 1.008 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2116, allocations: 7.938 kB / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.2119, allocations: 51.92 kB / 1.008 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.212, allocations: 4.094 kB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.2124, allocations: 43.84 kB / 1.008 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.2125, allocations: 11.98 kB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.672e-06/0.2125, allocations: 4 kB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005839/0.2131, allocations: 193.1 kB / 1.009 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.437e-06/0.2131, allocations: 4 kB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.513e-06/0.2131, allocations: 0 / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.2134, allocations: 51.91 kB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2134, allocations: 4 kB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.2139, allocations: 39.81 kB / 1.009 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.2139, allocations: 8 kB / 1.009 GB, free: 13.13 MB / 0.6355 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.0003088/0.2143, allocations: 253 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/0.2144, allocations: 39.44 kB / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.2151, allocations: 265.1 kB / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.689e-06/0.2151, allocations: 3.938 kB / 1.009 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.2152, allocations: 0 / 1.009 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-06/0.2152, allocations: 7.938 kB / 1.009 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.2166, allocations: 0.716 MB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.834e-06/0.2166, allocations: 0 / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.2168, allocations: 27.98 kB / 1.01 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.2168, allocations: 4 kB / 1.01 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.2169, allocations: 8 kB / 1.01 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-06/0.2169, allocations: 0 / 1.01 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.843e-06/0.2169, allocations: 8.062 kB / 1.01 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.2176, allocations: 398.7 kB / 1.01 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.2178, allocations: 148.4 kB / 1.01 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.2179, allocations: 0 / 1.01 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.2183, allocations: 31.97 kB / 1.011 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.2183, allocations: 11.92 kB / 1.011 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2184, allocations: 8 kB / 1.011 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005098/0.2189, allocations: 330.9 kB / 1.011 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.56e-07/0.2189, allocations: 0 / 1.011 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008793/0.2198, allocations: 191.7 kB / 1.011 GB, free: 10.56 MB / 0.6355 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.001584/0.2214, allocations: 470.8 kB / 1.011 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009486/0.2224, allocations: 282.1 kB / 1.012 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2224, allocations: 3.938 kB / 1.012 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.2227, allocations: 91.89 kB / 1.012 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.2242, allocations: 227.1 kB / 1.012 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.2259, allocations: 0.8341 MB / 1.013 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.2265, allocations: 0.8311 MB / 1.014 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004752/0.227, allocations: 95.39 kB / 1.014 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.2271, allocations: 39.42 kB / 1.014 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of SimCode: time 1.691e-06/0.2271, allocations: 0 / 1.014 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of Templates: time 0.02213/0.2493, allocations: 8.115 MB / 1.022 GB, free: 15.75 MB / 0.6511 GB