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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001037/0.001037, allocations: 183 kB / 17.34 MB, free: 5.762 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.23/1.23, 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-master/package.mo): time 0.748/0.748, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 68.05 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1384, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01868/0.1572, allocations: 17.46 MB / 0.6824 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006535/0.1637, allocations: 4.911 MB / 0.6872 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.1642, allocations: 15.94 kB / 0.6872 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.165, allocations: 258.3 kB / 0.6874 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.1664, allocations: 0.6063 MB / 0.688 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1682, allocations: 0.7255 MB / 0.6887 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1693, allocations: 0.9702 MB / 0.6897 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.1697, allocations: 336.9 kB / 0.69 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.1704, allocations: 414.3 kB / 0.6904 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.1708, allocations: 318.6 kB / 0.6907 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.1708, allocations: 28 kB / 0.6907 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.1719, allocations: 0.7331 MB / 0.6914 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1721, allocations: 131.5 kB / 0.6916 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.1723, allocations: 238.7 kB / 0.6918 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.1734, allocations: 0.8957 MB / 0.6927 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1734, allocations: 0 / 0.6927 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1734, allocations: 0 / 0.6927 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.1734, allocations: 0 / 0.6927 GB, free: 9.699 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.001212/0.1746, allocations: 0.872 MB / 0.6935 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1747, allocations: 13.11 kB / 0.6935 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.1748, allocations: 60.27 kB / 0.6936 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.1755, allocations: 472.8 kB / 0.694 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1755, allocations: 24.56 kB / 0.6941 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.1756, allocations: 27.94 kB / 0.6941 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.176, allocations: 290.2 kB / 0.6944 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1761, allocations: 4 kB / 0.6944 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1761, allocations: 12 kB / 0.6944 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1761, allocations: 4 kB / 0.6944 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.1765, allocations: 182.1 kB / 0.6945 GB, free: 7.652 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.001726/0.1782, allocations: 1.484 MB / 0.696 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.1785, allocations: 166.7 kB / 0.6962 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1787, allocations: 80.81 kB / 0.6962 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.1801, allocations: 1.276 MB / 0.6975 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1802, allocations: 34.56 kB / 0.6975 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 3.387e-06/0.1802, allocations: 3.984 kB / 0.6975 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005948/0.1808, allocations: 260 kB / 0.6978 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1808, allocations: 55.41 kB / 0.6978 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.1815, allocations: 0.5847 MB / 0.6984 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1815, allocations: 25.7 kB / 0.6984 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.1817, allocations: 272.1 kB / 0.6987 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1817, allocations: 55.27 kB / 0.6987 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1818, allocations: 65.89 kB / 0.6988 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.182, allocations: 362.8 kB / 0.6991 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1822, allocations: 85.94 kB / 0.6992 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.1824, allocations: 210.7 kB / 0.6994 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.1828, allocations: 235.6 kB / 0.6996 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1828, allocations: 4 kB / 0.6996 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005322/0.1834, allocations: 316.7 kB / 0.6999 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1834, allocations: 4 kB / 0.6999 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1834, allocations: 4 kB / 0.7 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1834, allocations: 4 kB / 0.7 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1837, allocations: 59.91 kB / 0.7 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1837, allocations: 4 kB / 0.7 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.184, allocations: 51.81 kB / 0.7001 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.184, allocations: 12 kB / 0.7001 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002954/0.1843, allocations: 220.6 kB / 0.7003 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00026/0.1846, allocations: 205.6 kB / 0.7005 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003558/0.185, allocations: 235.5 kB / 0.7007 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.185, allocations: 0 / 0.7007 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005254/0.1855, allocations: 304.8 kB / 0.701 GB, free: 492 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.1855, allocations: 9.812 kB / 0.701 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1855, allocations: 4 kB / 0.701 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.1855, allocations: 4 kB / 0.701 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.1858, allocations: 64.09 kB / 0.7011 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1858, allocations: 11.92 kB / 0.7011 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.1861, allocations: 40.2 kB / 0.7011 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1861, allocations: 16 kB / 0.7011 GB, free: 344 kB / 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.0001102/0.1862, allocations: 200.1 kB / 0.7013 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.1863, allocations: 55.33 kB / 0.7014 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.1868, allocations: 255.2 kB / 0.7016 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1868, allocations: 8 kB / 0.7016 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1869, allocations: 0 / 0.7016 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1869, allocations: 0 / 0.7016 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009608/0.1878, allocations: 0.7394 MB / 0.7024 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1878, allocations: 4.125 kB / 0.7024 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.188, allocations: 31.98 kB / 0.7024 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.188, allocations: 0 / 0.7024 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.188, allocations: 7.984 kB / 0.7024 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.188, allocations: 4 kB / 0.7024 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.188, allocations: 0 / 0.7024 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.1885, allocations: 354.2 kB / 0.7027 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.1886, allocations: 148.3 kB / 0.7029 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.1887, allocations: 8 kB / 0.7029 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1889, allocations: 7.984 kB / 0.7029 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.1889, allocations: 23.92 kB / 0.7029 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.189, allocations: 4 kB / 0.7029 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004281/0.1894, allocations: 422.8 kB / 0.7033 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1894, allocations: 0 / 0.7033 GB, free: 13.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006646/0.1901, allocations: 227.7 kB / 0.7035 GB, free: 13.74 MB / 0.545 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.001046/0.1911, allocations: 498.7 kB / 0.704 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006296/0.1918, allocations: 322 kB / 0.7043 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1918, allocations: 0 / 0.7043 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.192, allocations: 87.88 kB / 0.7044 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1931, allocations: 259.4 kB / 0.7047 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1943, allocations: 0.8343 MB / 0.7055 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1947, allocations: 0.8428 MB / 0.7063 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.1948, allocations: 47.42 kB / 0.7063 GB, free: 10.94 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.1948, allocations: 0 / 0.7063 GB, free: 10.94 MB / 0.545 GB Notification: Performance of Templates: time 0.01072/0.2055, allocations: 8.553 MB / 0.7147 GB, free: 2.465 MB / 0.545 GB 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)