Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108.3 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 191.9 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.722/0.722, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.11 kB / 0.5577 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1503, allocations: 76.19 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01627/0.1666, allocations: 15.52 MB / 0.6472 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.1732, allocations: 4.338 MB / 0.6515 GB, free: 484 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005568/0.1738, allocations: 15.88 kB / 0.6515 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1748, allocations: 262.3 kB / 0.6517 GB, free: 204 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.1766, allocations: 0.6323 MB / 0.6524 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.1784, allocations: 0.7094 MB / 0.653 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.1797, allocations: 1.029 MB / 0.6541 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.1802, allocations: 339.7 kB / 0.6544 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.1809, allocations: 434.3 kB / 0.6548 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1813, allocations: 322.5 kB / 0.6551 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.1814, allocations: 28 kB / 0.6551 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.1825, allocations: 0.6317 MB / 0.6557 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1826, allocations: 99.61 kB / 0.6558 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.1829, allocations: 226.7 kB / 0.6561 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1839, allocations: 0.7633 MB / 0.6568 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1839, allocations: 0 / 0.6568 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1839, allocations: 4 kB / 0.6568 GB, free: 11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.1839, allocations: 0 / 0.6568 GB, free: 11 MB / 0.4981 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.0012/0.1851, allocations: 0.8291 MB / 0.6576 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1852, allocations: 8.031 kB / 0.6576 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1853, allocations: 60.28 kB / 0.6577 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.1859, allocations: 437.4 kB / 0.6581 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.186, allocations: 20.44 kB / 0.6581 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.186, allocations: 28 kB / 0.6581 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.1864, allocations: 211.2 kB / 0.6583 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1865, allocations: 0 / 0.6583 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1865, allocations: 8 kB / 0.6583 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.1865, allocations: 4 kB / 0.6584 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.1869, allocations: 165.6 kB / 0.6585 GB, free: 9.152 MB / 0.4981 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.001548/0.1885, allocations: 0.9456 MB / 0.6594 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.1888, allocations: 133 kB / 0.6596 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.1889, allocations: 68.83 kB / 0.6596 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.1892, allocations: 340.5 kB / 0.6599 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1893, allocations: 38.56 kB / 0.66 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.1893, allocations: 0 / 0.66 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006193/0.1899, allocations: 248.9 kB / 0.6602 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1899, allocations: 51.41 kB / 0.6603 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.1905, allocations: 474 kB / 0.6607 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1905, allocations: 33.7 kB / 0.6608 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1907, allocations: 228.6 kB / 0.661 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1907, allocations: 47.3 kB / 0.661 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.1908, allocations: 61.59 kB / 0.6611 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.191, allocations: 358.7 kB / 0.6614 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.1912, allocations: 72.67 kB / 0.6615 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1914, allocations: 156.8 kB / 0.6616 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1918, allocations: 168.2 kB / 0.6618 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1918, allocations: 0 / 0.6618 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005158/0.1923, allocations: 246.7 kB / 0.662 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1924, allocations: 8 kB / 0.662 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1924, allocations: 7.922 kB / 0.6621 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1924, allocations: 4 kB / 0.6621 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.1926, allocations: 43.97 kB / 0.6621 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1927, allocations: 4 kB / 0.6621 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.193, allocations: 31.73 kB / 0.6621 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.193, allocations: 15.98 kB / 0.6621 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002913/0.1933, allocations: 188.1 kB / 0.6623 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002515/0.1936, allocations: 169 kB / 0.6625 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003338/0.1939, allocations: 175.1 kB / 0.6627 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.1939, allocations: 0 / 0.6627 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004972/0.1944, allocations: 249 kB / 0.6629 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.1945, allocations: 8 kB / 0.6629 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.1945, allocations: 0 / 0.6629 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-06/0.1945, allocations: 0 / 0.6629 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1947, allocations: 47.97 kB / 0.6629 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1947, allocations: 15.98 kB / 0.663 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.1951, allocations: 35.81 kB / 0.663 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1951, allocations: 7.938 kB / 0.663 GB, free: 4.227 MB / 0.4981 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.0001204/0.1952, allocations: 200.8 kB / 0.6632 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.1953, allocations: 43.44 kB / 0.6632 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.1958, allocations: 255 kB / 0.6635 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.1959, allocations: 192 / 0.6635 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1959, allocations: 7.984 kB / 0.6635 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1959, allocations: 3.984 kB / 0.6635 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.1969, allocations: 0.6967 MB / 0.6642 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1969, allocations: 0 / 0.6642 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.197, allocations: 31.98 kB / 0.6642 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.197, allocations: 3.938 kB / 0.6642 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1971, allocations: 4 kB / 0.6642 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.1971, allocations: 11.92 kB / 0.6642 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1971, allocations: 0 / 0.6642 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.1976, allocations: 338.4 kB / 0.6645 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1977, allocations: 132.5 kB / 0.6647 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.1978, allocations: 7.984 kB / 0.6647 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.198, allocations: 23.86 kB / 0.6647 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.198, allocations: 15.98 kB / 0.6647 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1981, allocations: 4 kB / 0.6647 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003823/0.1985, allocations: 338.9 kB / 0.665 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1985, allocations: 0 / 0.665 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006722/0.1991, allocations: 195.7 kB / 0.6652 GB, free: 1.824 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/0.2003, allocations: 480.1 kB / 0.6657 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007342/0.201, allocations: 271.7 kB / 0.6659 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.201, allocations: 0 / 0.6659 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.2012, allocations: 87.88 kB / 0.666 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/0.2022, allocations: 203.2 kB / 0.6662 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2036, allocations: 0.7051 MB / 0.6669 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.204, allocations: 0.8231 MB / 0.6677 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.2043, allocations: 87.5 kB / 0.6678 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.2044, allocations: 39.44 kB / 0.6678 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2044, allocations: 0 / 0.6678 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.01618/0.2206, allocations: 8.527 MB / 0.6762 GB, free: 6.816 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)