Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 163.2 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008077/0.0008075, allocations: 97.16 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 9.219 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1598, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01112/0.171, allocations: 15.33 MB / 0.9117 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008106/0.1791, allocations: 7.453 MB / 0.919 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.1797, allocations: 19.81 kB / 0.919 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.1805, allocations: 218.9 kB / 0.9192 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.1818, allocations: 0.546 MB / 0.9198 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1832, allocations: 0.6287 MB / 0.9204 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1843, allocations: 1.294 MB / 0.9216 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.1847, allocations: 279.7 kB / 0.9219 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005592/0.1853, allocations: 370.3 kB / 0.9223 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.1856, allocations: 322.5 kB / 0.9226 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.1856, allocations: 16 kB / 0.9226 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.1864, allocations: 0.5887 MB / 0.9232 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.1865, allocations: 79.61 kB / 0.9232 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1866, allocations: 206.8 kB / 0.9234 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.1872, allocations: 0.7242 MB / 0.9241 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1872, allocations: 0 / 0.9241 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1873, allocations: 0 / 0.9241 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1873, allocations: 0 / 0.9241 GB, free: 40.01 MB / 0.6042 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.0008128/0.1881, allocations: 0.7436 MB / 0.9249 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1881, allocations: 8.031 kB / 0.9249 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.1882, allocations: 56.28 kB / 0.9249 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.1886, allocations: 409.1 kB / 0.9253 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1886, allocations: 20.44 kB / 0.9253 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.1887, allocations: 28 kB / 0.9254 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.189, allocations: 219.2 kB / 0.9256 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.189, allocations: 0 / 0.9256 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.189, allocations: 4 kB / 0.9256 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1891, allocations: 8 kB / 0.9256 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.1894, allocations: 181.6 kB / 0.9258 GB, free: 38.26 MB / 0.6042 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.001161/0.1906, allocations: 0.9535 MB / 0.9267 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1908, allocations: 130.6 kB / 0.9268 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1909, allocations: 80.81 kB / 0.9269 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.1911, allocations: 336.5 kB / 0.9272 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.1911, allocations: 38.48 kB / 0.9273 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1911, allocations: 0 / 0.9273 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005005/0.1916, allocations: 262.6 kB / 0.9275 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/0.1917, allocations: 51.41 kB / 0.9276 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.192, allocations: 470 kB / 0.928 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.192, allocations: 33.7 kB / 0.928 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1921, allocations: 228.5 kB / 0.9282 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1922, allocations: 39.36 kB / 0.9283 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.1922, allocations: 33.7 kB / 0.9283 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.1923, allocations: 358.7 kB / 0.9287 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1924, allocations: 67.95 kB / 0.9287 GB, free: 35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.1926, allocations: 159.6 kB / 0.9289 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.1929, allocations: 173 kB / 0.929 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1929, allocations: 3.938 kB / 0.929 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004146/0.1934, allocations: 257 kB / 0.9293 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.1934, allocations: 117.8 kB / 0.9294 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1934, allocations: 4 kB / 0.9294 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1934, allocations: 0 / 0.9294 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1936, allocations: 47.97 kB / 0.9295 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.1936, allocations: 3.938 kB / 0.9295 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.1939, allocations: 51.66 kB / 0.9295 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.194, allocations: 12 kB / 0.9295 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-06/0.194, allocations: 7.938 kB / 0.9295 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003293/0.1943, allocations: 187.7 kB / 0.9297 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.1943, allocations: 4 kB / 0.9297 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-06/0.1943, allocations: 4 kB / 0.9297 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1945, allocations: 47.97 kB / 0.9298 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.1945, allocations: 0 / 0.9298 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.1948, allocations: 43.81 kB / 0.9298 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.1948, allocations: 8 kB / 0.9298 GB, free: 33.84 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.1949, allocations: 241 kB / 0.93 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.195, allocations: 51.36 kB / 0.9301 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.1954, allocations: 265 kB / 0.9303 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1954, allocations: 0 / 0.9303 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1954, allocations: 3.984 kB / 0.9303 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.1955, allocations: 128.6 kB / 0.9305 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.1956, allocations: 0 / 0.9305 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1958, allocations: 27.97 kB / 0.9305 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1958, allocations: 12.02 kB / 0.9305 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003574/0.1962, allocations: 299 kB / 0.9308 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003413/0.1966, allocations: 406 kB / 0.9312 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001325/0.1967, allocations: 79.94 kB / 0.9313 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002411/0.1969, allocations: 326.9 kB / 0.9316 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of Backend: time 5.01e-07/0.197, allocations: 0 / 0.9316 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.1987, allocations: 0.7601 MB / 0.9323 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001541/0.2002, allocations: 1.387 MB / 0.9337 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.01263/0.2129, allocations: 9.469 MB / 0.9429 GB, free: 20.56 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)