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.001499/0.001499, allocations: 108.7 kB / 16.41 MB, free: 6.496 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.001638/0.001638, allocations: 187 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.342/1.342, 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.8075/0.8075, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.31 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1501, allocations: 80.91 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02075/0.1709, allocations: 17.46 MB / 0.6823 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00726/0.1782, allocations: 4.926 MB / 0.6872 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.1789, allocations: 11.94 kB / 0.6872 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.1799, allocations: 250.4 kB / 0.6874 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.1818, allocations: 0.6453 MB / 0.688 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.1839, allocations: 0.7219 MB / 0.6887 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.1854, allocations: 0.9702 MB / 0.6897 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000625/0.186, allocations: 336.9 kB / 0.69 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000911/0.1869, allocations: 430.2 kB / 0.6904 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.1875, allocations: 310.7 kB / 0.6907 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.1876, allocations: 28 kB / 0.6907 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1891, allocations: 0.7292 MB / 0.6915 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.1893, allocations: 131.5 kB / 0.6916 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.1897, allocations: 242.7 kB / 0.6918 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.1913, allocations: 0.8918 MB / 0.6927 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1913, allocations: 0 / 0.6927 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1913, allocations: 0 / 0.6927 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.1914, allocations: 3.938 kB / 0.6927 GB, free: 9.664 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.001769/0.1932, allocations: 0.8797 MB / 0.6936 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1932, allocations: 13.11 kB / 0.6936 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.1935, allocations: 60.28 kB / 0.6936 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/0.1944, allocations: 460.8 kB / 0.6941 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.1944, allocations: 20.56 kB / 0.6941 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.1945, allocations: 28 kB / 0.6941 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.195, allocations: 294.2 kB / 0.6944 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1951, allocations: 0 / 0.6944 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.1951, allocations: 12 kB / 0.6944 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1951, allocations: 4 kB / 0.6944 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.1956, allocations: 190.1 kB / 0.6946 GB, free: 7.617 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.002022/0.1976, allocations: 1.488 MB / 0.696 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1979, allocations: 166.7 kB / 0.6962 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1981, allocations: 80.81 kB / 0.6963 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/0.1998, allocations: 1.268 MB / 0.6975 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.1999, allocations: 38.5 kB / 0.6975 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.1999, allocations: 0 / 0.6975 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006696/0.2006, allocations: 256.4 kB / 0.6978 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2006, allocations: 55.41 kB / 0.6978 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007264/0.2014, allocations: 0.5808 MB / 0.6984 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2014, allocations: 33.7 kB / 0.6984 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.2016, allocations: 268.1 kB / 0.6987 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.2017, allocations: 55.28 kB / 0.6988 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2018, allocations: 65.89 kB / 0.6988 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2019, allocations: 358.8 kB / 0.6992 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2021, allocations: 85.88 kB / 0.6992 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.2025, allocations: 206.8 kB / 0.6994 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.2029, allocations: 243.5 kB / 0.6997 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2029, allocations: 4 kB / 0.6997 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000622/0.2035, allocations: 304.8 kB / 0.7 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2036, allocations: 8.25 kB / 0.7 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2036, allocations: 8 kB / 0.7 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2036, allocations: 4 kB / 0.7 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.2039, allocations: 59.91 kB / 0.7 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2039, allocations: 7.938 kB / 0.7 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.2042, allocations: 51.66 kB / 0.7001 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.2043, allocations: 8 kB / 0.7001 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003167/0.2046, allocations: 216.6 kB / 0.7003 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002795/0.2049, allocations: 209.6 kB / 0.7005 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003883/0.2053, allocations: 239.7 kB / 0.7007 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.2053, allocations: 0 / 0.7007 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005983/0.2059, allocations: 312.6 kB / 0.701 GB, free: 456 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2059, allocations: 6.125 kB / 0.701 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2059, allocations: 11.94 kB / 0.7011 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.206, allocations: 4 kB / 0.7011 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.2062, allocations: 63.91 kB / 0.7011 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2062, allocations: 7.984 kB / 0.7011 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.2066, allocations: 35.83 kB / 0.7012 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.2066, allocations: 15.98 kB / 0.7012 GB, free: 312 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.0001414/0.2067, allocations: 200.1 kB / 0.7014 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.2068, allocations: 51.34 kB / 0.7014 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000599/0.2075, allocations: 263.2 kB / 0.7017 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2075, allocations: 4 kB / 0.7017 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2075, allocations: 0 / 0.7017 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2075, allocations: 0 / 0.7017 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2086, allocations: 0.7394 MB / 0.7024 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2086, allocations: 0 / 0.7024 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2087, allocations: 31.97 kB / 0.7024 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2088, allocations: 0 / 0.7024 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.2088, allocations: 8 kB / 0.7024 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2088, allocations: 7.938 kB / 0.7024 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2088, allocations: 4.125 kB / 0.7024 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.2093, allocations: 342.2 kB / 0.7028 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.2095, allocations: 156.3 kB / 0.7029 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.2096, allocations: 4 kB / 0.7029 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2098, allocations: 15.83 kB / 0.7029 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.2099, allocations: 19.86 kB / 0.703 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2099, allocations: 4 kB / 0.703 GB, free: 14.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004939/0.2104, allocations: 422.8 kB / 0.7034 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2104, allocations: 0 / 0.7034 GB, free: 13.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007821/0.2112, allocations: 227.7 kB / 0.7036 GB, free: 13.71 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.00113/0.2123, allocations: 0.4954 MB / 0.7041 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007368/0.2131, allocations: 314.5 kB / 0.7044 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.2131, allocations: 0 / 0.7044 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.2133, allocations: 91.94 kB / 0.7045 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.2146, allocations: 255.4 kB / 0.7047 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.216, allocations: 0.8383 MB / 0.7055 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.2165, allocations: 0.8389 MB / 0.7063 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2166, allocations: 47.42 kB / 0.7064 GB, free: 10.91 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2166, allocations: 0 / 0.7064 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Templates: time 0.01349/0.2301, allocations: 8.565 MB / 0.7147 GB, free: 2.422 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)