Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001538/0.001538, allocations: 109.6 kB / 16.41 MB, free: 6.453 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.001634/0.001634, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8418/0.8418, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 66.05 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1595, allocations: 80.94 MB / 0.6654 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01942/0.1789, allocations: 15.56 MB / 0.6806 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007298/0.1862, allocations: 4.338 MB / 0.6848 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.1868, allocations: 15.88 kB / 0.6848 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.1878, allocations: 278.3 kB / 0.6851 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.1896, allocations: 0.6297 MB / 0.6857 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.1916, allocations: 0.7093 MB / 0.6864 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.1932, allocations: 1.044 MB / 0.6874 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.1937, allocations: 284.8 kB / 0.6877 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.1945, allocations: 438.3 kB / 0.6881 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.195, allocations: 322.5 kB / 0.6884 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.195, allocations: 28 kB / 0.6884 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1963, allocations: 0.6317 MB / 0.6891 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1964, allocations: 95.61 kB / 0.6891 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.1967, allocations: 230.7 kB / 0.6894 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.1979, allocations: 0.7705 MB / 0.6901 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1979, allocations: 0 / 0.6901 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1979, allocations: 4 kB / 0.6901 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1979, allocations: 4 kB / 0.6901 GB, free: 12.3 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001409/0.1993, allocations: 0.8438 MB / 0.6909 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1994, allocations: 13.11 kB / 0.691 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1995, allocations: 52.61 kB / 0.691 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.2002, allocations: 449 kB / 0.6914 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.2003, allocations: 20.44 kB / 0.6915 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.2003, allocations: 24 kB / 0.6915 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.2008, allocations: 219.2 kB / 0.6917 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2008, allocations: 0 / 0.6917 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.2008, allocations: 4 kB / 0.6917 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2008, allocations: 8 kB / 0.6917 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.2012, allocations: 169.6 kB / 0.6919 GB, free: 10.42 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.001762/0.203, allocations: 0.9499 MB / 0.6928 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2033, allocations: 130.5 kB / 0.6929 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.2035, allocations: 64.81 kB / 0.693 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.2038, allocations: 332.4 kB / 0.6933 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.2039, allocations: 34.5 kB / 0.6933 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.2039, allocations: 0 / 0.6933 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0007085/0.2046, allocations: 245.3 kB / 0.6936 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.2046, allocations: 51.41 kB / 0.6936 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.2052, allocations: 478 kB / 0.6941 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.2052, allocations: 33.7 kB / 0.6941 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.2054, allocations: 224.8 kB / 0.6943 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.2055, allocations: 55.53 kB / 0.6944 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2056, allocations: 61.69 kB / 0.6944 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2058, allocations: 358.7 kB / 0.6948 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.206, allocations: 72.81 kB / 0.6948 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.2063, allocations: 154.9 kB / 0.695 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.2066, allocations: 168.5 kB / 0.6951 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2066, allocations: 0 / 0.6951 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000563/0.2072, allocations: 249.2 kB / 0.6954 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2072, allocations: 13.86 kB / 0.6954 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2072, allocations: 0 / 0.6954 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2072, allocations: 4 kB / 0.6954 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.2075, allocations: 47.91 kB / 0.6954 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2075, allocations: 0 / 0.6954 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.2078, allocations: 39.77 kB / 0.6955 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.2078, allocations: 15.98 kB / 0.6955 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003081/0.2081, allocations: 192 kB / 0.6957 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002845/0.2084, allocations: 165.4 kB / 0.6958 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003544/0.2088, allocations: 167 kB / 0.696 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.2088, allocations: 4 kB / 0.696 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000541/0.2093, allocations: 257.2 kB / 0.6962 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.2093, allocations: 4 kB / 0.6963 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2093, allocations: 4 kB / 0.6963 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/0.2093, allocations: 0 / 0.6963 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2095, allocations: 47.91 kB / 0.6963 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2096, allocations: 8.062 kB / 0.6963 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.2099, allocations: 35.84 kB / 0.6963 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.2099, allocations: 8 kB / 0.6964 GB, free: 5.5 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.0001633/0.2101, allocations: 200.1 kB / 0.6965 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.2101, allocations: 43.72 kB / 0.6966 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/0.2108, allocations: 257.2 kB / 0.6968 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.2108, allocations: 3.984 kB / 0.6968 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2108, allocations: 0 / 0.6968 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2108, allocations: 3.938 kB / 0.6968 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.212, allocations: 0.7045 MB / 0.6975 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.212, allocations: 0 / 0.6975 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.2122, allocations: 31.92 kB / 0.6976 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.2122, allocations: 3.938 kB / 0.6976 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2122, allocations: 8 kB / 0.6976 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2122, allocations: 3.984 kB / 0.6976 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2122, allocations: 7.938 kB / 0.6976 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.2128, allocations: 340.3 kB / 0.6979 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.213, allocations: 144.7 kB / 0.698 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.213, allocations: 4 kB / 0.698 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2133, allocations: 19.98 kB / 0.6981 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.2133, allocations: 11.98 kB / 0.6981 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.2133, allocations: 8 kB / 0.6981 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003979/0.2137, allocations: 330.9 kB / 0.6984 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2137, allocations: 0 / 0.6984 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007048/0.2144, allocations: 207.5 kB / 0.6986 GB, free: 3.07 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.001652/0.2161, allocations: 486.2 kB / 0.6991 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.2168, allocations: 251.7 kB / 0.6993 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2168, allocations: 3.938 kB / 0.6993 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.217, allocations: 79.88 kB / 0.6994 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.2181, allocations: 203.3 kB / 0.6996 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2194, allocations: 0.7566 MB / 0.7003 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.2199, allocations: 0.8192 MB / 0.7011 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.22, allocations: 39.42 kB / 0.7011 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of SimCode: time 6.92e-07/0.22, allocations: 0 / 0.7011 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of Templates: time 0.01252/0.2326, allocations: 7.395 MB / 0.7084 GB, free: 9.188 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)