Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 104.8 kB / 16.41 MB, free: 6.504 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.001265/0.001265, allocations: 187 kB / 17.34 MB, free: 5.742 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.377/1.377, 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.7866/0.7866, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 62.88 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.135, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.0222/0.1572, allocations: 22.32 MB / 0.6821 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007185/0.1645, allocations: 5.234 MB / 0.6872 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000805/0.1653, allocations: 23.81 kB / 0.6873 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000948/0.1663, allocations: 305.8 kB / 0.6876 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.1687, allocations: 0.8697 MB / 0.6884 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.1704, allocations: 0.7245 MB / 0.6891 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.1724, allocations: 1.495 MB / 0.6906 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.1732, allocations: 0.5223 MB / 0.6911 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.1744, allocations: 0.6458 MB / 0.6917 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008423/0.1753, allocations: 477.8 kB / 0.6922 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.1754, allocations: 60 kB / 0.6922 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.1769, allocations: 0.6356 MB / 0.6928 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.1771, allocations: 151.4 kB / 0.693 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.1776, allocations: 366 kB / 0.6933 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.179, allocations: 1.067 MB / 0.6944 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1791, allocations: 0 / 0.6944 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1791, allocations: 0 / 0.6944 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.1791, allocations: 0 / 0.6944 GB, free: 7.293 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002007/0.1811, allocations: 1.058 MB / 0.6954 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1812, allocations: 12.03 kB / 0.6954 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1813, allocations: 76 kB / 0.6955 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.1822, allocations: 0.5737 MB / 0.6961 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1823, allocations: 36.59 kB / 0.6961 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.1823, allocations: 36 kB / 0.6961 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.1829, allocations: 314 kB / 0.6964 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1829, allocations: 0 / 0.6964 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.183, allocations: 16 kB / 0.6964 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.183, allocations: 8.656 kB / 0.6964 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005187/0.1835, allocations: 258.5 kB / 0.6967 GB, free: 4.824 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.002421/0.186, allocations: 1.565 MB / 0.6982 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.1863, allocations: 190.5 kB / 0.6984 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1865, allocations: 96.8 kB / 0.6985 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.1868, allocations: 421.5 kB / 0.6989 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1869, allocations: 38.5 kB / 0.6989 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.1869, allocations: 0 / 0.6989 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007474/0.1876, allocations: 331.2 kB / 0.6993 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1877, allocations: 55.41 kB / 0.6993 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000759/0.1885, allocations: 0.6448 MB / 0.6999 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.1885, allocations: 33.7 kB / 0.7 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1887, allocations: 308.4 kB / 0.7003 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1888, allocations: 67.02 kB / 0.7003 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.1889, allocations: 102 kB / 0.7004 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1891, allocations: 378.7 kB / 0.7008 GB, free: 352 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.1893, allocations: 138.5 kB / 0.7009 GB, free: 212 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.1897, allocations: 206.2 kB / 0.7011 GB, free: 15.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.1902, allocations: 286.2 kB / 0.7014 GB, free: 15.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1902, allocations: 4 kB / 0.7014 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007942/0.191, allocations: 452.7 kB / 0.7018 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.191, allocations: 7.938 kB / 0.7018 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1911, allocations: 0 / 0.7018 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1911, allocations: 4 kB / 0.7018 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/0.1919, allocations: 143.8 kB / 0.702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006634/0.1926, allocations: 1.188 MB / 0.7031 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.1931, allocations: 55.59 kB / 0.7032 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.1931, allocations: 16 kB / 0.7032 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004082/0.1935, allocations: 276.9 kB / 0.7035 GB, free: 13.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003093/0.1939, allocations: 202.5 kB / 0.7037 GB, free: 13.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004671/0.1943, allocations: 285.5 kB / 0.7039 GB, free: 12.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.1943, allocations: 0 / 0.7039 GB, free: 12.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007633/0.1951, allocations: 448.6 kB / 0.7044 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1951, allocations: 5.719 kB / 0.7044 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1951, allocations: 4 kB / 0.7044 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.1952, allocations: 0 / 0.7044 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.1956, allocations: 111.9 kB / 0.7045 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1957, allocations: 8 kB / 0.7045 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.1961, allocations: 39.75 kB / 0.7045 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.1961, allocations: 19.98 kB / 0.7045 GB, free: 12.36 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.1963, allocations: 208 kB / 0.7047 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1964, allocations: 59.25 kB / 0.7048 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006529/0.197, allocations: 322 kB / 0.7051 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1971, allocations: 4 kB / 0.7051 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1971, allocations: 0 / 0.7051 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1971, allocations: 0 / 0.7051 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.1983, allocations: 0.9033 MB / 0.706 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1983, allocations: 4 kB / 0.706 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.1986, allocations: 63.92 kB / 0.706 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1986, allocations: 0 / 0.706 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.1987, allocations: 12 kB / 0.7061 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005094/0.1992, allocations: 1.18 MB / 0.7072 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1992, allocations: 7.875 kB / 0.7072 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.1999, allocations: 0.506 MB / 0.7077 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.2001, allocations: 176.2 kB / 0.7079 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.2002, allocations: 8 kB / 0.7079 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.2005, allocations: 15.97 kB / 0.7079 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.2006, allocations: 20.05 kB / 0.7079 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2006, allocations: 7.938 kB / 0.7079 GB, free: 8.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005146/0.2011, allocations: 455 kB / 0.7084 GB, free: 8.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2011, allocations: 0 / 0.7084 GB, free: 8.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007957/0.2019, allocations: 295.5 kB / 0.7086 GB, free: 7.973 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005061/0.2024, allocations: 247.3 kB / 0.7089 GB, free: 7.727 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.2038, allocations: 0.5199 MB / 0.7094 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2038, allocations: 8.188 kB / 0.7094 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.2041, allocations: 130 kB / 0.7095 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.2053, allocations: 271.3 kB / 0.7098 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2069, allocations: 1.045 MB / 0.7108 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.2073, allocations: 0.8903 MB / 0.7117 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.2075, allocations: 47.44 kB / 0.7117 GB, free: 4.77 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.2075, allocations: 0 / 0.7117 GB, free: 4.77 MB / 0.545 GB Notification: Performance of Templates: time 0.01799/0.2255, allocations: 15.01 MB / 0.7264 GB, free: 5.855 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)