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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6939/0.6939, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 403.4 MB, free: 7.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009364/0.0009364, allocations: 106.7 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009909/0.0009909, allocations: 56.16 kB / 0.5619 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1404, allocations: 80.2 MB / 0.6402 GB, free: 6.754 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01802/0.1585, allocations: 17.4 MB / 0.6572 GB, free: 5.277 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008069/0.1666, allocations: 4.935 MB / 0.662 GB, free: 328 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007603/0.1674, allocations: 15.88 kB / 0.662 GB, free: 312 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.1683, allocations: 211 kB / 0.6622 GB, free: 100 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.17, allocations: 0.56 MB / 0.6628 GB, free: 15.53 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.172, allocations: 0.6483 MB / 0.6634 GB, free: 14.89 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.1735, allocations: 1.267 MB / 0.6646 GB, free: 13.62 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.174, allocations: 300.9 kB / 0.6649 GB, free: 13.33 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.1747, allocations: 386.3 kB / 0.6653 GB, free: 12.95 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.1751, allocations: 322.6 kB / 0.6656 GB, free: 12.64 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.1752, allocations: 16 kB / 0.6656 GB, free: 12.62 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.1765, allocations: 0.6979 MB / 0.6663 GB, free: 11.92 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1767, allocations: 127.5 kB / 0.6664 GB, free: 11.8 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.1769, allocations: 234.7 kB / 0.6666 GB, free: 11.57 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.1781, allocations: 0.8568 MB / 0.6675 GB, free: 10.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1781, allocations: 0 / 0.6675 GB, free: 10.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1782, allocations: 0 / 0.6675 GB, free: 10.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1782, allocations: 4 kB / 0.6675 GB, free: 10.7 MB / 474.7 MB 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.001303/0.1795, allocations: 0.8719 MB / 0.6683 GB, free: 9.781 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1795, allocations: 8.031 kB / 0.6683 GB, free: 9.773 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.1797, allocations: 60.27 kB / 0.6684 GB, free: 9.715 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.1803, allocations: 453 kB / 0.6688 GB, free: 9.234 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1804, allocations: 24.56 kB / 0.6688 GB, free: 9.207 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.1804, allocations: 35.98 kB / 0.6689 GB, free: 9.172 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.1809, allocations: 274.3 kB / 0.6691 GB, free: 8.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.181, allocations: 0 / 0.6691 GB, free: 8.887 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.181, allocations: 15.94 kB / 0.6691 GB, free: 8.871 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.181, allocations: 8 kB / 0.6692 GB, free: 8.863 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.1814, allocations: 198 kB / 0.6693 GB, free: 8.672 MB / 474.7 MB 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.001832/0.1833, allocations: 1.48 MB / 0.6708 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.1836, allocations: 158.8 kB / 0.6709 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.1838, allocations: 84.81 kB / 0.671 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/0.1854, allocations: 1.276 MB / 0.6723 GB, free: 5.363 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1854, allocations: 42.55 kB / 0.6723 GB, free: 5.312 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.1854, allocations: 0 / 0.6723 GB, free: 5.312 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006491/0.1861, allocations: 250.4 kB / 0.6725 GB, free: 5.062 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1861, allocations: 51.41 kB / 0.6726 GB, free: 5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.1868, allocations: 0.5847 MB / 0.6732 GB, free: 4.402 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1868, allocations: 33.7 kB / 0.6732 GB, free: 4.363 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.187, allocations: 272 kB / 0.6735 GB, free: 4.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.1871, allocations: 55.3 kB / 0.6735 GB, free: 4.035 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1872, allocations: 73.88 kB / 0.6736 GB, free: 3.957 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1873, allocations: 354.8 kB / 0.6739 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1875, allocations: 81.92 kB / 0.674 GB, free: 3.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.1878, allocations: 202.8 kB / 0.6742 GB, free: 3.273 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.1882, allocations: 235.2 kB / 0.6744 GB, free: 3.012 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1883, allocations: 8 kB / 0.6744 GB, free: 3.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005691/0.1888, allocations: 314 kB / 0.6747 GB, free: 2.691 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1889, allocations: 8 kB / 0.6747 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1889, allocations: 0 / 0.6747 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1889, allocations: 4 kB / 0.6747 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.1892, allocations: 68.16 kB / 0.6748 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1892, allocations: 7.984 kB / 0.6748 GB, free: 2.605 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.1895, allocations: 51.56 kB / 0.6749 GB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.1896, allocations: 19.98 kB / 0.6749 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003149/0.1899, allocations: 212.6 kB / 0.6751 GB, free: 2.324 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002691/0.1902, allocations: 210.1 kB / 0.6753 GB, free: 2.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003709/0.1905, allocations: 235 kB / 0.6755 GB, free: 1.809 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.1906, allocations: 0 / 0.6755 GB, free: 1.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005494/0.1911, allocations: 312.7 kB / 0.6758 GB, free: 1.496 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.1911, allocations: 5.562 kB / 0.6758 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-06/0.1911, allocations: 4.25 kB / 0.6758 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.668e-06/0.1912, allocations: 8 kB / 0.6758 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.1914, allocations: 63.91 kB / 0.6759 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1914, allocations: 4 kB / 0.6759 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.1917, allocations: 39.81 kB / 0.6759 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.1918, allocations: 12.19 kB / 0.6759 GB, free: 1.363 MB / 474.7 MB 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.0001356/0.1919, allocations: 205.5 kB / 0.6761 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.192, allocations: 59.3 kB / 0.6762 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.1925, allocations: 251.3 kB / 0.6764 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.1926, allocations: 7.984 kB / 0.6764 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1926, allocations: 0 / 0.6764 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1926, allocations: 4 kB / 0.6764 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.1936, allocations: 0.7278 MB / 0.6771 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1936, allocations: 0 / 0.6771 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.1937, allocations: 35.92 kB / 0.6772 GB, free: 0 / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1937, allocations: 128 / 0.6772 GB, free: 0 / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1938, allocations: 16.12 kB / 0.6772 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1938, allocations: 0 / 0.6772 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1938, allocations: 4 kB / 0.6772 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.1948, allocations: 1.058 MB / 0.6782 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.195, allocations: 144.4 kB / 0.6784 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.195, allocations: 11.94 kB / 0.6784 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1952, allocations: 15.89 kB / 0.6784 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.1953, allocations: 19.98 kB / 0.6784 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1953, allocations: 7.938 kB / 0.6784 GB, free: 14.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004258/0.1958, allocations: 422.8 kB / 0.6788 GB, free: 14.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1958, allocations: 0 / 0.6788 GB, free: 14.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009202/0.1967, allocations: 235.7 kB / 0.6791 GB, free: 13.99 MB / 490.7 MB 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.001154/0.1979, allocations: 498.5 kB / 0.6795 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006971/0.1986, allocations: 318 kB / 0.6798 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1986, allocations: 0 / 0.6798 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1988, allocations: 83.89 kB / 0.6799 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.2001, allocations: 260 kB / 0.6802 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2017, allocations: 1.128 MB / 0.6813 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.2021, allocations: 0.8428 MB / 0.6821 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.2024, allocations: 108.2 kB / 0.6822 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.2025, allocations: 39.44 kB / 0.6822 GB, free: 10.8 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2025, allocations: 4 kB / 0.6822 GB, free: 10.8 MB / 490.7 MB Notification: Performance of Templates: time 0.0173/0.2198, allocations: 10.08 MB / 0.6921 GB, free: 0.8398 MB / 490.7 MB 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)