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.001172/0.001172, allocations: 108.9 kB / 16.41 MB, free: 6.484 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.001217/0.001217, allocations: 189.6 kB / 17.34 MB, free: 5.75 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.766/0.766, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 64.16 kB / 0.582 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 80.22 MB / 0.6603 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0161/0.1667, allocations: 15.54 MB / 0.6755 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006419/0.1731, allocations: 4.323 MB / 0.6797 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006435/0.1738, allocations: 15.88 kB / 0.6798 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009246/0.1747, allocations: 262.3 kB / 0.68 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1764, allocations: 0.6101 MB / 0.6806 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.1783, allocations: 0.7051 MB / 0.6813 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1797, allocations: 1.033 MB / 0.6823 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.1801, allocations: 347.8 kB / 0.6826 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006652/0.1808, allocations: 418.3 kB / 0.683 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.1812, allocations: 322.5 kB / 0.6833 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.1813, allocations: 28 kB / 0.6834 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.1824, allocations: 0.6239 MB / 0.684 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1825, allocations: 103.5 kB / 0.6841 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.1827, allocations: 226.8 kB / 0.6843 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009701/0.1837, allocations: 0.7711 MB / 0.685 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1837, allocations: 4 kB / 0.685 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1837, allocations: 0 / 0.685 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.1837, allocations: 3.984 kB / 0.685 GB, free: 0.9766 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.00112/0.1849, allocations: 0.8213 MB / 0.6859 GB, free: 108 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1849, allocations: 16.03 kB / 0.6859 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.933e-05/0.185, allocations: 52.28 kB / 0.6859 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.1857, allocations: 436.6 kB / 0.6863 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1857, allocations: 20.44 kB / 0.6864 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.1857, allocations: 28 kB / 0.6864 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.1862, allocations: 211.2 kB / 0.6866 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.1862, allocations: 0 / 0.6866 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1862, allocations: 8 kB / 0.6866 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1862, allocations: 4 kB / 0.6866 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.1866, allocations: 173.5 kB / 0.6868 GB, free: 15.13 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.00163/0.1882, allocations: 0.9496 MB / 0.6877 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.1885, allocations: 126.6 kB / 0.6878 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.1887, allocations: 76.81 kB / 0.6879 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.1889, allocations: 332.4 kB / 0.6882 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.189, allocations: 38.55 kB / 0.6882 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/0.189, allocations: 3.938 kB / 0.6882 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005854/0.1896, allocations: 232.1 kB / 0.6885 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1896, allocations: 55.41 kB / 0.6885 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.1901, allocations: 474 kB / 0.689 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.1901, allocations: 33.7 kB / 0.689 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1903, allocations: 228.6 kB / 0.6892 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.1904, allocations: 51.3 kB / 0.6893 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.1905, allocations: 61.59 kB / 0.6893 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1906, allocations: 358.7 kB / 0.6897 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1908, allocations: 68.81 kB / 0.6897 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.191, allocations: 155.6 kB / 0.6899 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.1914, allocations: 166.1 kB / 0.69 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1914, allocations: 0 / 0.69 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004797/0.1919, allocations: 260.9 kB / 0.6903 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1919, allocations: 4 kB / 0.6903 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1919, allocations: 4 kB / 0.6903 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1919, allocations: 0 / 0.6903 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.1921, allocations: 43.97 kB / 0.6903 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1922, allocations: 3.938 kB / 0.6903 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.1925, allocations: 43.66 kB / 0.6904 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.1925, allocations: 12 kB / 0.6904 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002682/0.1928, allocations: 193 kB / 0.6906 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002315/0.193, allocations: 165.2 kB / 0.6907 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003039/0.1933, allocations: 168.2 kB / 0.6909 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.1933, allocations: 0 / 0.6909 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004664/0.1938, allocations: 249 kB / 0.6911 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.1938, allocations: 4 kB / 0.6911 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1938, allocations: 4.062 kB / 0.6911 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-06/0.1938, allocations: 4 kB / 0.6911 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.194, allocations: 47.97 kB / 0.6912 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.194, allocations: 3.938 kB / 0.6912 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.1943, allocations: 35.81 kB / 0.6912 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1944, allocations: 11.98 kB / 0.6912 GB, free: 10.21 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.0001088/0.1945, allocations: 192.4 kB / 0.6914 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.1946, allocations: 47.44 kB / 0.6915 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.1951, allocations: 261.7 kB / 0.6917 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1951, allocations: 0 / 0.6917 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1951, allocations: 192 / 0.6917 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1951, allocations: 3.938 kB / 0.6917 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009201/0.1961, allocations: 0.7034 MB / 0.6924 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1961, allocations: 0 / 0.6924 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1962, allocations: 35.92 kB / 0.6924 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1962, allocations: 7.875 kB / 0.6924 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1962, allocations: 7.984 kB / 0.6925 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1962, allocations: 0 / 0.6925 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1962, allocations: 4.125 kB / 0.6925 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.1967, allocations: 341 kB / 0.6928 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1968, allocations: 152.4 kB / 0.6929 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.1969, allocations: 4 kB / 0.6929 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1971, allocations: 11.98 kB / 0.6929 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1971, allocations: 15.98 kB / 0.693 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1972, allocations: 4 kB / 0.693 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00034/0.1975, allocations: 334.9 kB / 0.6933 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1975, allocations: 0 / 0.6933 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005904/0.1981, allocations: 199.6 kB / 0.6935 GB, free: 7.797 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.001082/0.1992, allocations: 482.4 kB / 0.6939 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006351/0.1998, allocations: 278.3 kB / 0.6942 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1999, allocations: 0 / 0.6942 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.2, allocations: 87.83 kB / 0.6943 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.201, allocations: 202.3 kB / 0.6945 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.2022, allocations: 0.7379 MB / 0.6952 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.2026, allocations: 0.8191 MB / 0.696 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.2027, allocations: 39.44 kB / 0.696 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.2027, allocations: 4 kB / 0.696 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.01002/0.2127, allocations: 7.315 MB / 0.7032 GB, free: 14.04 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)