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.004601/0.004601, allocations: 100.6 kB / 15.73 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.0009731/0.0009731, allocations: 185.5 kB / 16.67 MB, free: 5.938 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.257/1.257, allocations: 222.9 MB / 240.4 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.7584/0.7584, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 68.31 kB / 0.5814 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1555, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01823/0.1737, allocations: 17.46 MB / 0.6767 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007016/0.1808, allocations: 4.917 MB / 0.6815 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005269/0.1814, allocations: 15.94 kB / 0.6816 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.1822, allocations: 258.4 kB / 0.6818 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.1836, allocations: 0.5984 MB / 0.6824 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.1854, allocations: 0.7323 MB / 0.6831 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1866, allocations: 0.9702 MB / 0.684 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005319/0.1871, allocations: 332.9 kB / 0.6844 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006798/0.1878, allocations: 426.3 kB / 0.6848 GB, free: 496 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.1882, allocations: 314.6 kB / 0.6851 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.1883, allocations: 28 kB / 0.6851 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1895, allocations: 0.7253 MB / 0.6858 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.1896, allocations: 131.5 kB / 0.6859 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.1898, allocations: 238.7 kB / 0.6862 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1911, allocations: 0.8989 MB / 0.687 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1911, allocations: 0 / 0.687 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1911, allocations: 0 / 0.687 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.1912, allocations: 4 kB / 0.687 GB, free: 14.15 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.001186/0.1923, allocations: 0.8943 MB / 0.6879 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1924, allocations: 8.031 kB / 0.6879 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1925, allocations: 64.56 kB / 0.688 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.1932, allocations: 473.3 kB / 0.6884 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1932, allocations: 20.56 kB / 0.6885 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1933, allocations: 28 kB / 0.6885 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.1938, allocations: 286.2 kB / 0.6888 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1938, allocations: 0 / 0.6888 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.1939, allocations: 12 kB / 0.6888 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1939, allocations: 11.98 kB / 0.6888 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.1943, allocations: 190.1 kB / 0.689 GB, free: 12.07 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.001749/0.196, allocations: 1.48 MB / 0.6904 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.1964, allocations: 165.2 kB / 0.6906 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.1966, allocations: 84.7 kB / 0.6906 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/0.198, allocations: 1.284 MB / 0.6919 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.198, allocations: 30.56 kB / 0.6919 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.198, allocations: 0 / 0.6919 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005893/0.1986, allocations: 257.1 kB / 0.6922 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1987, allocations: 55.41 kB / 0.6922 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.1993, allocations: 0.5809 MB / 0.6928 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1993, allocations: 33.7 kB / 0.6928 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1995, allocations: 272.4 kB / 0.6931 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.1995, allocations: 55.55 kB / 0.6931 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.1996, allocations: 69.97 kB / 0.6932 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1998, allocations: 358.8 kB / 0.6935 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.2, allocations: 77.94 kB / 0.6936 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.2003, allocations: 210.7 kB / 0.6938 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.2006, allocations: 239.3 kB / 0.694 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2006, allocations: 0 / 0.694 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005332/0.2012, allocations: 317 kB / 0.6943 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2012, allocations: 8 kB / 0.6944 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2012, allocations: 3.984 kB / 0.6944 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2012, allocations: 4.094 kB / 0.6944 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.2015, allocations: 59.91 kB / 0.6944 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.515e-06/0.2015, allocations: 4.25 kB / 0.6944 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.2018, allocations: 55.7 kB / 0.6945 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.2018, allocations: 19.98 kB / 0.6945 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002818/0.2021, allocations: 217.4 kB / 0.6947 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000258/0.2024, allocations: 210.1 kB / 0.6949 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003546/0.2028, allocations: 230.9 kB / 0.6951 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.2028, allocations: 4 kB / 0.6951 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005373/0.2033, allocations: 310.2 kB / 0.6954 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2033, allocations: 13.34 kB / 0.6954 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/0.2033, allocations: 0 / 0.6954 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.2034, allocations: 4 kB / 0.6954 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.2036, allocations: 59.91 kB / 0.6955 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2036, allocations: 8.188 kB / 0.6955 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.2039, allocations: 43.81 kB / 0.6955 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.2039, allocations: 16 kB / 0.6956 GB, free: 4.758 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.00014/0.2041, allocations: 200.1 kB / 0.6958 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.2041, allocations: 51.66 kB / 0.6958 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.2047, allocations: 256.5 kB / 0.696 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2047, allocations: 3.984 kB / 0.696 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2047, allocations: 4 kB / 0.6961 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2047, allocations: 0 / 0.6961 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.2057, allocations: 0.7419 MB / 0.6968 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2058, allocations: 0 / 0.6968 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.2059, allocations: 27.98 kB / 0.6968 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2059, allocations: 4 kB / 0.6968 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2059, allocations: 8 kB / 0.6968 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.2059, allocations: 3.984 kB / 0.6968 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2059, allocations: 0 / 0.6968 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.2064, allocations: 358.5 kB / 0.6972 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.2066, allocations: 144.7 kB / 0.6973 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.2066, allocations: 4 kB / 0.6973 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.2068, allocations: 15.98 kB / 0.6973 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.2069, allocations: 15.92 kB / 0.6973 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2069, allocations: 12 kB / 0.6973 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004222/0.2074, allocations: 418.8 kB / 0.6977 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2074, allocations: 0 / 0.6977 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007009/0.2081, allocations: 235.5 kB / 0.698 GB, free: 2.168 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.001048/0.2091, allocations: 0.4944 MB / 0.6985 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006554/0.2098, allocations: 319.8 kB / 0.6988 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2098, allocations: 0 / 0.6988 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.21, allocations: 91.89 kB / 0.6988 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.2111, allocations: 249.5 kB / 0.6991 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2124, allocations: 0.8228 MB / 0.6999 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.2128, allocations: 0.8467 MB / 0.7007 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002815/0.2131, allocations: 99.48 kB / 0.7008 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.2132, allocations: 43.42 kB / 0.7008 GB, free: 15.32 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.2132, allocations: 4 kB / 0.7009 GB, free: 15.32 MB / 0.545 GB Notification: Performance of Templates: time 0.01602/0.2292, allocations: 10.24 MB / 0.7109 GB, free: 5.23 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)