Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000806/0.000806, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005104/0.005104, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 277.6 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9104/0.9104, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 15.16 kB / 0.5987 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01627/0.1681, allocations: 16.83 MB / 0.7016 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006332/0.1745, allocations: 4.864 MB / 0.7063 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004689/0.175, allocations: 11.88 kB / 0.7063 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.1758, allocations: 214.9 kB / 0.7065 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.177, allocations: 0.5587 MB / 0.7071 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.1786, allocations: 0.6423 MB / 0.7077 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1799, allocations: 1.274 MB / 0.7089 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.1803, allocations: 284.2 kB / 0.7092 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/0.1808, allocations: 370.4 kB / 0.7096 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.1812, allocations: 310.5 kB / 0.7099 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.1812, allocations: 16 kB / 0.7099 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1823, allocations: 0.6939 MB / 0.7106 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1824, allocations: 123.6 kB / 0.7107 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.1826, allocations: 256.3 kB / 0.7109 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009367/0.1836, allocations: 0.8489 MB / 0.7118 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1836, allocations: 0 / 0.7118 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1836, allocations: 0 / 0.7118 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.1836, allocations: 0 / 0.7118 GB, free: 3.738 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001068/0.1847, allocations: 0.7865 MB / 0.7125 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1847, allocations: 8.031 kB / 0.7125 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1849, allocations: 56.28 kB / 0.7126 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.1854, allocations: 457.6 kB / 0.713 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.1855, allocations: 24.5 kB / 0.713 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.1855, allocations: 28 kB / 0.7131 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.186, allocations: 294.2 kB / 0.7134 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.186, allocations: 4 kB / 0.7134 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.1861, allocations: 8 kB / 0.7134 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1861, allocations: 11.94 kB / 0.7134 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.1865, allocations: 198.1 kB / 0.7136 GB, free: 1.785 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.001692/0.1882, allocations: 1.484 MB / 0.715 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.1885, allocations: 168.8 kB / 0.7152 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1887, allocations: 96.83 kB / 0.7153 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.1902, allocations: 1.284 MB / 0.7165 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1902, allocations: 34.5 kB / 0.7166 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1902, allocations: 4 kB / 0.7166 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006122/0.1908, allocations: 263.2 kB / 0.7168 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1909, allocations: 67.39 kB / 0.7169 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.1915, allocations: 0.5808 MB / 0.7174 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1916, allocations: 29.7 kB / 0.7175 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1917, allocations: 268.1 kB / 0.7177 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1918, allocations: 55.19 kB / 0.7178 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.1918, allocations: 33.7 kB / 0.7178 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.192, allocations: 358.8 kB / 0.7181 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1922, allocations: 80.52 kB / 0.7182 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.1925, allocations: 214.7 kB / 0.7184 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.1929, allocations: 239.1 kB / 0.7187 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1929, allocations: 4 kB / 0.7187 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005752/0.1935, allocations: 322.8 kB / 0.719 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-05/0.1936, allocations: 165.8 kB / 0.7191 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1936, allocations: 4 kB / 0.7191 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1936, allocations: 4 kB / 0.7191 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1939, allocations: 59.91 kB / 0.7192 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1939, allocations: 12.02 kB / 0.7192 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.1942, allocations: 59.61 kB / 0.7193 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.1943, allocations: 11.98 kB / 0.7193 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.1943, allocations: 7.938 kB / 0.7193 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004811/0.1948, allocations: 247.7 kB / 0.7195 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1948, allocations: 4 kB / 0.7195 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.1948, allocations: 4 kB / 0.7195 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.195, allocations: 64.03 kB / 0.7196 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.195, allocations: 4 kB / 0.7196 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.1954, allocations: 51.84 kB / 0.7196 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1954, allocations: 12 kB / 0.7196 GB, free: 11.05 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.1956, allocations: 262.3 kB / 0.7199 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.1957, allocations: 55.41 kB / 0.72 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.1962, allocations: 271.5 kB / 0.7202 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.1963, allocations: 7.984 kB / 0.7202 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1963, allocations: 0 / 0.7202 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1963, allocations: 0 / 0.7202 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/0.1972, allocations: 0.7395 MB / 0.7209 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1973, allocations: 0 / 0.7209 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.1974, allocations: 40.11 kB / 0.721 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1974, allocations: 0 / 0.721 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1974, allocations: 11.92 kB / 0.721 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1974, allocations: 0 / 0.721 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1974, allocations: 8 kB / 0.721 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.1979, allocations: 360.1 kB / 0.7213 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.1981, allocations: 156.3 kB / 0.7215 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.1981, allocations: 7.984 kB / 0.7215 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.1984, allocations: 23.98 kB / 0.7215 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1984, allocations: 15.92 kB / 0.7215 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1984, allocations: 8 kB / 0.7215 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004257/0.1989, allocations: 414.8 kB / 0.7219 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1989, allocations: 0 / 0.7219 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007195/0.1996, allocations: 235.6 kB / 0.7222 GB, free: 8.348 MB / 0.5137 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 (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.001041/0.2006, allocations: 0.4967 MB / 0.7226 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006812/0.2013, allocations: 329.5 kB / 0.723 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2014, allocations: 0 / 0.723 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.2016, allocations: 104.5 kB / 0.7231 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.203, allocations: 253.2 kB / 0.7233 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2042, allocations: 0.9959 MB / 0.7243 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.2046, allocations: 0.8428 MB / 0.7251 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003306/0.2049, allocations: 108.2 kB / 0.7252 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.205, allocations: 39.44 kB / 0.7252 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.205, allocations: 4 kB / 0.7252 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.01575/0.2208, allocations: 9.847 MB / 0.7349 GB, free: 11.57 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)