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 2.623/2.623, allocations: 287.9 MB / 302.9 MB, free: 8.32 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.001417/0.001417, allocations: 189 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.058/2.058, allocations: 205.4 MB / 0.6301 GB, free: 10.44 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.00106/0.00106, allocations: 99.19 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004669, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01588/0.1752, allocations: 14.84 MB / 0.9933 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1853, allocations: 6.681 MB / 0.9998 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006572/0.1859, allocations: 15.88 kB / 0.9998 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.187, allocations: 290.7 kB / 1 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.1889, allocations: 0.5491 MB / 1.001 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005687/0.1946, allocations: 1.693 MB / 1.002 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.1958, allocations: 0.5856 MB / 1.003 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.1963, allocations: 266.5 kB / 1.003 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.1969, allocations: 326.8 kB / 1.003 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.1972, allocations: 223 kB / 1.004 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.1973, allocations: 16 kB / 1.004 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1984, allocations: 447.3 kB / 1.004 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1985, allocations: 115.6 kB / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1986, allocations: 117.4 kB / 1.004 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.1994, allocations: 0.5338 MB / 1.005 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.682e-06/0.1994, allocations: 4 kB / 1.005 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.849e-06/0.1994, allocations: 0 / 1.005 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.487e-06/0.1994, allocations: 0 / 1.005 GB, free: 1.48 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001087/0.2005, allocations: 0.7708 MB / 1.006 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2006, allocations: 12.03 kB / 1.006 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.2008, allocations: 59.25 kB / 1.006 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.2014, allocations: 420.9 kB / 1.006 GB, free: 140 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2014, allocations: 20.56 kB / 1.006 GB, free: 120 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.2015, allocations: 35.89 kB / 1.006 GB, free: 84 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.2022, allocations: 290.3 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2022, allocations: 0 / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.2023, allocations: 12 kB / 1.006 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2023, allocations: 4 kB / 1.006 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.2029, allocations: 206.1 kB / 1.007 GB, free: 15.56 MB / 0.6355 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.002657/0.2055, allocations: 1.484 MB / 1.008 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.206, allocations: 166.8 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002187/0.2082, allocations: 1.288 MB / 1.009 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.2083, allocations: 38.56 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.978e-06/0.2083, allocations: 0 / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0008571/0.2092, allocations: 259.8 kB / 1.01 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2092, allocations: 55.41 kB / 1.01 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/0.2102, allocations: 0.5808 MB / 1.01 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.2103, allocations: 33.7 kB / 1.01 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.2106, allocations: 264.1 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.2107, allocations: 55.2 kB / 1.011 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.2107, allocations: 4 kB / 1.011 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.2109, allocations: 362.7 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.2112, allocations: 76.52 kB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.2116, allocations: 222.7 kB / 1.011 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.2119, allocations: 98.14 kB / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.524e-06/0.212, allocations: 4 kB / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008766/0.2128, allocations: 312.9 kB / 1.012 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005328/0.2134, allocations: 0.9677 MB / 1.013 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2134, allocations: 0 / 1.013 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.2134, allocations: 8 kB / 1.013 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.2138, allocations: 59.91 kB / 1.013 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.2138, allocations: 11.92 kB / 1.013 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.2144, allocations: 59.69 kB / 1.013 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.2145, allocations: 12 kB / 1.013 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2145, allocations: 9.672 kB / 1.013 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007052/0.2152, allocations: 246 kB / 1.013 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.301e-06/0.2152, allocations: 4 kB / 1.013 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.68e-06/0.2152, allocations: 4 kB / 1.013 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.2156, allocations: 63.86 kB / 1.013 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2156, allocations: 7.938 kB / 1.013 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.2161, allocations: 55.97 kB / 1.013 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.2161, allocations: 12.19 kB / 1.013 GB, free: 8.293 MB / 0.6355 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.0003688/0.2165, allocations: 265 kB / 1.013 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.2166, allocations: 43.44 kB / 1.013 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.2174, allocations: 273.5 kB / 1.014 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.905e-06/0.2175, allocations: 0 / 1.014 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.097e-06/0.2175, allocations: 4 kB / 1.014 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.569e-06/0.2175, allocations: 0 / 1.014 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.2191, allocations: 0.7395 MB / 1.014 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.191e-06/0.2191, allocations: 12.06 kB / 1.014 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.2193, allocations: 31.97 kB / 1.014 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/0.2193, allocations: 4 kB / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2193, allocations: 4 kB / 1.015 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.464e-06/0.2194, allocations: 4 kB / 1.015 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2194, allocations: 3.953 kB / 1.015 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.2201, allocations: 415.9 kB / 1.015 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.2204, allocations: 152.4 kB / 1.015 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.2205, allocations: 3.953 kB / 1.015 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.2208, allocations: 19.98 kB / 1.015 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.2209, allocations: 15.98 kB / 1.015 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.2209, allocations: 7.984 kB / 1.015 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006834/0.2216, allocations: 414.8 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.66e-07/0.2216, allocations: 0 / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001043/0.2227, allocations: 227.7 kB / 1.016 GB, free: 5.539 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 (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.00167/0.2244, allocations: 0.4972 MB / 1.016 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.2254, allocations: 328.5 kB / 1.017 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.988e-06/0.2255, allocations: 0 / 1.017 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.2258, allocations: 91.95 kB / 1.017 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.2274, allocations: 257.9 kB / 1.017 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.2294, allocations: 0.9536 MB / 1.018 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.23, allocations: 0.8584 MB / 1.019 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005783/0.2306, allocations: 108.3 kB / 1.019 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.2307, allocations: 39.42 kB / 1.019 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of SimCode: time 1.641e-06/0.2308, allocations: 0 / 1.019 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of Templates: time 0.02516/0.2559, allocations: 9.592 MB / 1.028 GB, free: 8.992 MB / 0.6511 GB