Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001603/0.001603, allocations: 181.7 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-master/package.mo): time 0.7291/0.7291, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.368/1.368, allocations: 222.9 MB / 404.7 MB, free: 6.031 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.001088/0.001088, allocations: 111.4 kB / 485.9 MB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 59.91 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1413, allocations: 80.42 MB / 0.6421 GB, free: 5.41 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01879/0.1601, allocations: 17.39 MB / 0.6591 GB, free: 3.945 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006636/0.1668, allocations: 4.93 MB / 0.6639 GB, free: 15 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.1673, allocations: 11.94 kB / 0.664 GB, free: 14.99 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007614/0.1681, allocations: 214.9 kB / 0.6642 GB, free: 14.78 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.1693, allocations: 0.5599 MB / 0.6647 GB, free: 14.21 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.1709, allocations: 0.6446 MB / 0.6653 GB, free: 13.58 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.1722, allocations: 1.282 MB / 0.6666 GB, free: 12.29 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.1726, allocations: 289 kB / 0.6669 GB, free: 12.01 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.1732, allocations: 394.2 kB / 0.6672 GB, free: 11.62 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.1736, allocations: 314.6 kB / 0.6675 GB, free: 11.32 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.1737, allocations: 20 kB / 0.6676 GB, free: 11.3 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.1748, allocations: 0.6979 MB / 0.6682 GB, free: 10.6 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.175, allocations: 119.6 kB / 0.6684 GB, free: 10.48 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.1752, allocations: 234.6 kB / 0.6686 GB, free: 10.25 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1763, allocations: 0.8607 MB / 0.6694 GB, free: 9.387 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1763, allocations: 0 / 0.6694 GB, free: 9.387 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1763, allocations: 3.938 kB / 0.6694 GB, free: 9.383 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1763, allocations: 3.938 kB / 0.6694 GB, free: 9.379 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.001269/0.1776, allocations: 0.8797 MB / 0.6703 GB, free: 8.449 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1777, allocations: 8.031 kB / 0.6703 GB, free: 8.441 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1778, allocations: 56.28 kB / 0.6703 GB, free: 8.387 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.1784, allocations: 453 kB / 0.6708 GB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.1785, allocations: 20.56 kB / 0.6708 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.1785, allocations: 28 kB / 0.6708 GB, free: 7.852 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.179, allocations: 286.2 kB / 0.6711 GB, free: 7.555 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.179, allocations: 0 / 0.6711 GB, free: 7.555 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.179, allocations: 12 kB / 0.6711 GB, free: 7.543 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1791, allocations: 4 kB / 0.6711 GB, free: 7.539 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.1795, allocations: 194.1 kB / 0.6713 GB, free: 7.348 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.001787/0.1813, allocations: 1.476 MB / 0.6727 GB, free: 5.758 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.1816, allocations: 166.8 kB / 0.6729 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.1818, allocations: 82.52 kB / 0.673 GB, free: 5.504 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.1833, allocations: 1.28 MB / 0.6742 GB, free: 4.031 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1833, allocations: 30.56 kB / 0.6743 GB, free: 3.992 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 2.966e-06/0.1833, allocations: 0 / 0.6743 GB, free: 3.992 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006001/0.184, allocations: 258.5 kB / 0.6745 GB, free: 3.734 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.184, allocations: 55.41 kB / 0.6746 GB, free: 3.668 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/0.1847, allocations: 0.5809 MB / 0.6751 GB, free: 3.074 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1847, allocations: 33.7 kB / 0.6752 GB, free: 3.035 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.1849, allocations: 272 kB / 0.6754 GB, free: 2.766 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1849, allocations: 51.3 kB / 0.6755 GB, free: 2.715 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1851, allocations: 69.88 kB / 0.6755 GB, free: 2.641 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1852, allocations: 358.8 kB / 0.6759 GB, free: 2.281 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1854, allocations: 85.88 kB / 0.676 GB, free: 2.195 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.1857, allocations: 214.7 kB / 0.6762 GB, free: 1.938 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.1861, allocations: 235.6 kB / 0.6764 GB, free: 1.676 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1861, allocations: 0 / 0.6764 GB, free: 1.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006147/0.1868, allocations: 316.9 kB / 0.6767 GB, free: 1.359 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1868, allocations: 8 kB / 0.6767 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1868, allocations: 4 kB / 0.6767 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.1868, allocations: 4 kB / 0.6767 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.1871, allocations: 67.89 kB / 0.6768 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.1871, allocations: 7.938 kB / 0.6768 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1875, allocations: 51.7 kB / 0.6768 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.1875, allocations: 15.98 kB / 0.6768 GB, free: 1.203 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003257/0.1879, allocations: 212.6 kB / 0.677 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003168/0.1882, allocations: 205.7 kB / 0.6772 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004054/0.1886, allocations: 231.2 kB / 0.6775 GB, free: 496 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.1886, allocations: 3.938 kB / 0.6775 GB, free: 492 kB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005714/0.1892, allocations: 318.5 kB / 0.6778 GB, free: 168 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.1892, allocations: 4 kB / 0.6778 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/0.1893, allocations: 4 kB / 0.6778 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.1893, allocations: 4 kB / 0.6778 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1895, allocations: 59.91 kB / 0.6778 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1895, allocations: 4 kB / 0.6778 GB, free: 92 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.1898, allocations: 48.06 kB / 0.6779 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.1899, allocations: 11.98 kB / 0.6779 GB, free: 32 kB / 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.0001884/0.1901, allocations: 196.2 kB / 0.6781 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1902, allocations: 51.38 kB / 0.6781 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.1909, allocations: 257.6 kB / 0.6784 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.1909, allocations: 11.94 kB / 0.6784 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.1909, allocations: 0 / 0.6784 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1909, allocations: 0 / 0.6784 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1922, allocations: 0.7278 MB / 0.6791 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1922, allocations: 4 kB / 0.6791 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.1923, allocations: 31.97 kB / 0.6791 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1923, allocations: 0 / 0.6791 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1923, allocations: 8 kB / 0.6791 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1924, allocations: 3.938 kB / 0.6791 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-05/0.1924, allocations: 8 kB / 0.6792 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1934, allocations: 1.058 MB / 0.6802 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.1936, allocations: 152.4 kB / 0.6803 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.1937, allocations: 15.88 kB / 0.6803 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1939, allocations: 15.89 kB / 0.6804 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.1939, allocations: 16.12 kB / 0.6804 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.194, allocations: 7.984 kB / 0.6804 GB, free: 13.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004931/0.1945, allocations: 422.8 kB / 0.6808 GB, free: 12.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1945, allocations: 4 kB / 0.6808 GB, free: 12.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009486/0.1954, allocations: 235.7 kB / 0.681 GB, free: 12.66 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.001179/0.1966, allocations: 494.8 kB / 0.6815 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.1973, allocations: 322.4 kB / 0.6818 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1973, allocations: 4 kB / 0.6818 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.1975, allocations: 79.89 kB / 0.6819 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.1989, allocations: 264.2 kB / 0.6821 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2004, allocations: 1.117 MB / 0.6832 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.2008, allocations: 0.8468 MB / 0.684 GB, free: 9.621 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003397/0.2011, allocations: 104.6 kB / 0.6841 GB, free: 9.516 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.2012, allocations: 39.42 kB / 0.6842 GB, free: 9.477 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2012, allocations: 3.938 kB / 0.6842 GB, free: 9.473 MB / 490.7 MB Notification: Performance of Templates: time 0.2619/0.4632, allocations: 10.08 MB / 0.694 GB, free: 57.6 MB / 490.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)