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.001517/0.001517, allocations: 108.2 kB / 16.41 MB, free: 6.457 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.00177/0.00177, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 66.17 kB / 0.582 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1382, allocations: 80.22 MB / 0.6604 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01741/0.1557, allocations: 17.45 MB / 0.6774 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006364/0.1621, allocations: 4.906 MB / 0.6822 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004674/0.1626, allocations: 19.88 kB / 0.6822 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008094/0.1634, allocations: 254.4 kB / 0.6824 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.1648, allocations: 0.6413 MB / 0.6831 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1667, allocations: 0.7322 MB / 0.6838 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.1678, allocations: 0.9625 MB / 0.6847 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.1684, allocations: 340.8 kB / 0.6851 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008597/0.1692, allocations: 430.3 kB / 0.6855 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.1699, allocations: 310.6 kB / 0.6858 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.17, allocations: 36 kB / 0.6858 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.1716, allocations: 0.7292 MB / 0.6865 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.1719, allocations: 131.5 kB / 0.6866 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004609/0.1723, allocations: 246.6 kB / 0.6869 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.1745, allocations: 0.8802 MB / 0.6877 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1745, allocations: 3.938 kB / 0.6877 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1745, allocations: 0 / 0.6877 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.561e-05/0.1745, allocations: 0 / 0.6877 GB, free: 14.36 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.001934/0.1765, allocations: 0.8759 MB / 0.6886 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1765, allocations: 8.031 kB / 0.6886 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.1768, allocations: 60.27 kB / 0.6887 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.1776, allocations: 476.8 kB / 0.6891 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.1777, allocations: 20.56 kB / 0.6891 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.1777, allocations: 28 kB / 0.6892 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.1783, allocations: 286.2 kB / 0.6894 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1783, allocations: 4 kB / 0.6894 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1783, allocations: 8 kB / 0.6894 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1784, allocations: 4 kB / 0.6894 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.1788, allocations: 194.1 kB / 0.6896 GB, free: 12.31 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.002097/0.1809, allocations: 1.476 MB / 0.6911 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.1813, allocations: 166.7 kB / 0.6912 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.1815, allocations: 84.81 kB / 0.6913 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/0.1831, allocations: 1.272 MB / 0.6926 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1832, allocations: 34.56 kB / 0.6926 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.1832, allocations: 0 / 0.6926 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000683/0.1839, allocations: 255.9 kB / 0.6928 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1839, allocations: 55.41 kB / 0.6929 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.1846, allocations: 0.5847 MB / 0.6935 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1846, allocations: 25.7 kB / 0.6935 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1848, allocations: 276.1 kB / 0.6937 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1849, allocations: 55.19 kB / 0.6938 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.185, allocations: 65.98 kB / 0.6939 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1852, allocations: 362.8 kB / 0.6942 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1854, allocations: 77.94 kB / 0.6943 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.1857, allocations: 210.7 kB / 0.6945 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.1861, allocations: 239.3 kB / 0.6947 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1861, allocations: 0 / 0.6947 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006119/0.1868, allocations: 320.6 kB / 0.695 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1868, allocations: 4 kB / 0.695 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.1868, allocations: 4 kB / 0.695 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1868, allocations: 4 kB / 0.695 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1871, allocations: 59.91 kB / 0.6951 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1871, allocations: 7.984 kB / 0.6951 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.1874, allocations: 48 kB / 0.6951 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.1875, allocations: 19.98 kB / 0.6952 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003078/0.1878, allocations: 213.5 kB / 0.6954 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002718/0.1881, allocations: 214.1 kB / 0.6956 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003825/0.1885, allocations: 226.9 kB / 0.6958 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.1885, allocations: 0 / 0.6958 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006271/0.1891, allocations: 317.9 kB / 0.6961 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1891, allocations: 5.562 kB / 0.6961 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1892, allocations: 4 kB / 0.6961 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.1892, allocations: 4 kB / 0.6961 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.1894, allocations: 63.91 kB / 0.6962 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.1894, allocations: 11.92 kB / 0.6962 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.1898, allocations: 36.08 kB / 0.6962 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.1898, allocations: 20 kB / 0.6962 GB, free: 5.008 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.0001501/0.1899, allocations: 196.2 kB / 0.6964 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.19, allocations: 55.28 kB / 0.6965 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.1906, allocations: 259.8 kB / 0.6967 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1906, allocations: 4 kB / 0.6967 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1906, allocations: 0 / 0.6967 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.1908, allocations: 140.4 kB / 0.6968 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.1909, allocations: 7.984 kB / 0.6969 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1911, allocations: 8 kB / 0.6969 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1911, allocations: 7.984 kB / 0.6969 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004788/0.1916, allocations: 288.7 kB / 0.6971 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004885/0.1921, allocations: 402.1 kB / 0.6975 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002035/0.1923, allocations: 79.94 kB / 0.6976 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000468/0.1928, allocations: 418.8 kB / 0.698 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of Backend: time 3.7e-07/0.1928, allocations: 0 / 0.698 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002655/0.1955, allocations: 0.8913 MB / 0.6989 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002242/0.1977, allocations: 1.385 MB / 0.7002 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of Templates: time 0.02041/0.2182, allocations: 11.92 MB / 0.7119 GB, free: 5.262 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)