Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001135/0.001135, allocations: 106.5 kB / 16.41 MB, free: 6.488 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.001141/0.001141, allocations: 187 kB / 17.34 MB, free: 5.73 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.78 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1445, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01753/0.1621, allocations: 15.55 MB / 0.6755 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.1684, allocations: 4.324 MB / 0.6797 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006018/0.1691, allocations: 15.88 kB / 0.6798 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009692/0.1701, allocations: 266.3 kB / 0.68 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.1717, allocations: 0.6062 MB / 0.6806 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.1735, allocations: 0.7018 MB / 0.6813 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.1749, allocations: 1.037 MB / 0.6823 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.1755, allocations: 331.8 kB / 0.6826 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.1764, allocations: 426.3 kB / 0.683 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005588/0.1769, allocations: 330.5 kB / 0.6833 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/0.177, allocations: 28 kB / 0.6834 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.1782, allocations: 0.6317 MB / 0.684 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.1783, allocations: 95.61 kB / 0.6841 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.1786, allocations: 222.8 kB / 0.6843 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.1798, allocations: 0.775 MB / 0.685 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1798, allocations: 0 / 0.685 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1798, allocations: 0 / 0.685 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.1798, allocations: 0 / 0.685 GB, free: 0.8672 MB / 0.5137 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.001374/0.1812, allocations: 0.8292 MB / 0.6859 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1812, allocations: 8.031 kB / 0.6859 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1814, allocations: 56.28 kB / 0.6859 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.1821, allocations: 440.5 kB / 0.6863 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1821, allocations: 20.44 kB / 0.6864 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.1822, allocations: 28 kB / 0.6864 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.1827, allocations: 211.2 kB / 0.6866 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1827, allocations: 0 / 0.6866 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.1827, allocations: 16 kB / 0.6866 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1827, allocations: 4 kB / 0.6866 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.1831, allocations: 165.6 kB / 0.6868 GB, free: 15.01 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.001636/0.1848, allocations: 0.9456 MB / 0.6877 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1851, allocations: 146.5 kB / 0.6878 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.1852, allocations: 72.81 kB / 0.6879 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.1856, allocations: 332.4 kB / 0.6882 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1856, allocations: 38.56 kB / 0.6882 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.1856, allocations: 0 / 0.6882 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006409/0.1862, allocations: 240.1 kB / 0.6885 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.1863, allocations: 55.34 kB / 0.6885 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.1868, allocations: 474 kB / 0.689 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.1869, allocations: 33.7 kB / 0.689 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.187, allocations: 224.6 kB / 0.6892 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.1871, allocations: 55.23 kB / 0.6893 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.1872, allocations: 61.59 kB / 0.6893 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1873, allocations: 350.7 kB / 0.6897 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1875, allocations: 76.81 kB / 0.6897 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.1878, allocations: 151.7 kB / 0.6899 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.1882, allocations: 162.4 kB / 0.69 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1882, allocations: 0 / 0.69 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005174/0.1887, allocations: 246.9 kB / 0.6903 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1887, allocations: 11.98 kB / 0.6903 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1887, allocations: 0 / 0.6903 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1887, allocations: 0 / 0.6903 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.189, allocations: 51.91 kB / 0.6903 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.189, allocations: 8 kB / 0.6904 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.1893, allocations: 39.61 kB / 0.6904 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.1894, allocations: 11.98 kB / 0.6904 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002755/0.1897, allocations: 189 kB / 0.6906 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002491/0.1899, allocations: 169.2 kB / 0.6907 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003334/0.1903, allocations: 168.2 kB / 0.6909 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.1903, allocations: 4 kB / 0.6909 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005029/0.1908, allocations: 249 kB / 0.6911 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.1908, allocations: 8 kB / 0.6912 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.1908, allocations: 0 / 0.6912 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.1908, allocations: 4 kB / 0.6912 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.191, allocations: 43.91 kB / 0.6912 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1911, allocations: 4 kB / 0.6912 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.1914, allocations: 39.88 kB / 0.6912 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1914, allocations: 12 kB / 0.6913 GB, free: 10.08 MB / 0.5294 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.000126/0.1916, allocations: 196.1 kB / 0.6914 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.1916, allocations: 43.44 kB / 0.6915 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.1922, allocations: 251.4 kB / 0.6917 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.1922, allocations: 7.984 kB / 0.6917 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1922, allocations: 0 / 0.6917 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1922, allocations: 3.938 kB / 0.6917 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009798/0.1932, allocations: 0.693 MB / 0.6924 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1932, allocations: 4.031 kB / 0.6924 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1934, allocations: 31.92 kB / 0.6924 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.1934, allocations: 7.938 kB / 0.6924 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1934, allocations: 11.94 kB / 0.6925 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.301e-05/0.1934, allocations: 7.984 kB / 0.6925 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1935, allocations: 0 / 0.6925 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.1939, allocations: 342.2 kB / 0.6928 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.1941, allocations: 140.4 kB / 0.6929 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.1941, allocations: 8 kB / 0.6929 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1944, allocations: 7.984 kB / 0.6929 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.1944, allocations: 19.98 kB / 0.693 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1944, allocations: 4 kB / 0.693 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003554/0.1948, allocations: 334.9 kB / 0.6933 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1948, allocations: 0 / 0.6933 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006566/0.1955, allocations: 203.6 kB / 0.6935 GB, free: 7.668 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 (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.001128/0.1966, allocations: 482.1 kB / 0.6939 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006547/0.1973, allocations: 267 kB / 0.6942 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1973, allocations: 7.938 kB / 0.6942 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.1975, allocations: 86.5 kB / 0.6943 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.1985, allocations: 207.3 kB / 0.6945 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1997, allocations: 0.7379 MB / 0.6952 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2001, allocations: 0.8231 MB / 0.696 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.2002, allocations: 39.42 kB / 0.696 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.2002, allocations: 0 / 0.696 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of Templates: time 0.01145/0.2117, allocations: 7.352 MB / 0.7032 GB, free: 13.88 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)