Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001465/0.001465, allocations: 100.6 kB / 16.41 MB, free: 6.016 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.001609/0.00161, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8354/0.8354, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 65.09 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1469, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01712/0.164, allocations: 17.45 MB / 0.6774 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006901/0.171, allocations: 4.921 MB / 0.6822 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.1717, allocations: 15.88 kB / 0.6822 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009032/0.1726, allocations: 250.4 kB / 0.6824 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.1744, allocations: 0.6414 MB / 0.6831 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.1765, allocations: 0.7303 MB / 0.6838 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1778, allocations: 0.9728 MB / 0.6847 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.1783, allocations: 344.9 kB / 0.6851 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.1789, allocations: 426.2 kB / 0.6855 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.1794, allocations: 310.6 kB / 0.6858 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.1795, allocations: 28 kB / 0.6858 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.1808, allocations: 0.7292 MB / 0.6865 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.181, allocations: 135.6 kB / 0.6866 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.1812, allocations: 242.6 kB / 0.6869 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.1825, allocations: 0.8801 MB / 0.6877 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1825, allocations: 8 kB / 0.6877 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1825, allocations: 0 / 0.6877 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.1825, allocations: 0 / 0.6877 GB, free: 14.08 MB / 0.5294 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.0013/0.1838, allocations: 0.8797 MB / 0.6886 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1839, allocations: 8.031 kB / 0.6886 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.1841, allocations: 60.28 kB / 0.6887 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.1848, allocations: 472.8 kB / 0.6891 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1848, allocations: 20.56 kB / 0.6891 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.1848, allocations: 32 kB / 0.6892 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.1854, allocations: 282.3 kB / 0.6894 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1854, allocations: 0 / 0.6894 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.1854, allocations: 8 kB / 0.6894 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.1854, allocations: 8 kB / 0.6894 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.1859, allocations: 198 kB / 0.6896 GB, free: 12.02 MB / 0.5294 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.00193/0.1878, allocations: 1.461 MB / 0.6911 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1882, allocations: 170.6 kB / 0.6912 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.1884, allocations: 94.52 kB / 0.6913 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.1899, allocations: 1.272 MB / 0.6925 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.19, allocations: 38.56 kB / 0.6926 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.19, allocations: 0 / 0.6926 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006545/0.1907, allocations: 245.1 kB / 0.6928 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1907, allocations: 55.34 kB / 0.6929 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.1914, allocations: 0.5886 MB / 0.6934 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1914, allocations: 37.7 kB / 0.6935 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.1916, allocations: 264.1 kB / 0.6937 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1917, allocations: 55.2 kB / 0.6938 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1918, allocations: 69.97 kB / 0.6939 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.192, allocations: 358.8 kB / 0.6942 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.1922, allocations: 77.94 kB / 0.6943 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.1925, allocations: 210.8 kB / 0.6945 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1929, allocations: 243.5 kB / 0.6947 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1929, allocations: 0 / 0.6947 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005894/0.1935, allocations: 312.6 kB / 0.695 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1935, allocations: 8 kB / 0.695 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1935, allocations: 256 / 0.695 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.1936, allocations: 8 kB / 0.695 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.1938, allocations: 67.89 kB / 0.6951 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1938, allocations: 4 kB / 0.6951 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.1942, allocations: 39.67 kB / 0.6951 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.1942, allocations: 19.98 kB / 0.6951 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003138/0.1945, allocations: 213.5 kB / 0.6953 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003083/0.1948, allocations: 214.1 kB / 0.6956 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004129/0.1953, allocations: 228.2 kB / 0.6958 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/0.1953, allocations: 4 kB / 0.6958 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005703/0.1959, allocations: 316.7 kB / 0.6961 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1959, allocations: 8 kB / 0.6961 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1959, allocations: 4.25 kB / 0.6961 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.1959, allocations: 8 kB / 0.6961 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1961, allocations: 59.91 kB / 0.6962 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1961, allocations: 4 kB / 0.6962 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.1965, allocations: 35.81 kB / 0.6962 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.1965, allocations: 16 kB / 0.6962 GB, free: 4.734 MB / 0.5294 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.0001328/0.1966, allocations: 200.1 kB / 0.6964 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.1967, allocations: 51.34 kB / 0.6964 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/0.1973, allocations: 261.3 kB / 0.6967 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1973, allocations: 4 kB / 0.6967 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1973, allocations: 0 / 0.6967 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1973, allocations: 3.984 kB / 0.6967 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.1984, allocations: 0.7342 MB / 0.6974 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.1984, allocations: 4 kB / 0.6974 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1985, allocations: 35.92 kB / 0.6975 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1985, allocations: 0 / 0.6975 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1986, allocations: 8 kB / 0.6975 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1986, allocations: 0 / 0.6975 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1986, allocations: 4.125 kB / 0.6975 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.1991, allocations: 358.1 kB / 0.6978 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.1992, allocations: 144.5 kB / 0.6979 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.1993, allocations: 7.984 kB / 0.698 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1995, allocations: 12 kB / 0.698 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.1996, allocations: 23.91 kB / 0.698 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1996, allocations: 4 kB / 0.698 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004635/0.2001, allocations: 418.8 kB / 0.6984 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2001, allocations: 0 / 0.6984 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007912/0.2009, allocations: 227.7 kB / 0.6986 GB, free: 2.148 MB / 0.5294 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.00119/0.2021, allocations: 0.495 MB / 0.6991 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.2028, allocations: 311.6 kB / 0.6994 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2028, allocations: 1 kB / 0.6994 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.2031, allocations: 98.95 kB / 0.6995 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.2043, allocations: 246 kB / 0.6997 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2057, allocations: 0.8382 MB / 0.7005 GB, free: 300 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.2062, allocations: 0.8467 MB / 0.7014 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.2063, allocations: 35.44 kB / 0.7014 GB, free: 15.38 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.2063, allocations: 0 / 0.7014 GB, free: 15.38 MB / 0.545 GB Notification: Performance of Templates: time 0.01321/0.2195, allocations: 8.574 MB / 0.7098 GB, free: 6.898 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)