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.00144/0.00144, allocations: 110.5 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.001389/0.001389, allocations: 188.1 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.357/1.357, 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.8219/0.8219, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 61.53 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1629, allocations: 80.92 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01934/0.1823, allocations: 15.54 MB / 0.6805 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006824/0.1892, allocations: 4.332 MB / 0.6847 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008072/0.1901, allocations: 19.88 kB / 0.6847 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.1912, allocations: 262.3 kB / 0.685 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.1933, allocations: 0.6023 MB / 0.6856 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.1958, allocations: 0.7023 MB / 0.6863 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.1979, allocations: 1.039 MB / 0.6873 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007842/0.1987, allocations: 344.7 kB / 0.6876 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.1998, allocations: 426.3 kB / 0.688 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007249/0.2006, allocations: 330.5 kB / 0.6883 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2007, allocations: 28 kB / 0.6883 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.2021, allocations: 0.6239 MB / 0.689 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2023, allocations: 103.5 kB / 0.6891 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.2027, allocations: 222.8 kB / 0.6893 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.2043, allocations: 0.7789 MB / 0.69 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2043, allocations: 3.938 kB / 0.69 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2043, allocations: 0 / 0.69 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.2043, allocations: 0 / 0.69 GB, free: 12.36 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.001629/0.206, allocations: 0.8213 MB / 0.6908 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.206, allocations: 13.11 kB / 0.6908 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2062, allocations: 52.28 kB / 0.6909 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/0.207, allocations: 440.6 kB / 0.6913 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.2071, allocations: 20.44 kB / 0.6913 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.2071, allocations: 28 kB / 0.6914 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.2077, allocations: 211.2 kB / 0.6916 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2077, allocations: 0 / 0.6916 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2077, allocations: 12 kB / 0.6916 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2077, allocations: 8 kB / 0.6916 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.2081, allocations: 165.6 kB / 0.6917 GB, free: 10.51 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.001848/0.21, allocations: 0.9418 MB / 0.6927 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.2103, allocations: 126.6 kB / 0.6928 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.2105, allocations: 76.81 kB / 0.6929 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.2108, allocations: 336.4 kB / 0.6932 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2109, allocations: 34.56 kB / 0.6932 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.2109, allocations: 0 / 0.6932 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006791/0.2116, allocations: 241 kB / 0.6934 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.2116, allocations: 55.41 kB / 0.6935 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.2122, allocations: 474 kB / 0.6939 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.2122, allocations: 37.69 kB / 0.694 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.2124, allocations: 224.6 kB / 0.6942 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.2125, allocations: 51.36 kB / 0.6942 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2126, allocations: 53.7 kB / 0.6943 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2128, allocations: 358.7 kB / 0.6946 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.2129, allocations: 76.81 kB / 0.6947 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.2132, allocations: 154.8 kB / 0.6949 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.2136, allocations: 168.3 kB / 0.695 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2136, allocations: 0 / 0.695 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005475/0.2142, allocations: 250.7 kB / 0.6953 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.2142, allocations: 8 kB / 0.6953 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2142, allocations: 3.938 kB / 0.6953 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.2142, allocations: 0 / 0.6953 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2145, allocations: 51.91 kB / 0.6953 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.2145, allocations: 3.984 kB / 0.6953 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.2148, allocations: 43.75 kB / 0.6954 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.2149, allocations: 8 kB / 0.6954 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002862/0.2152, allocations: 188.2 kB / 0.6955 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002873/0.2155, allocations: 177.1 kB / 0.6957 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003388/0.2158, allocations: 172.2 kB / 0.6959 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.2158, allocations: 0 / 0.6959 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000525/0.2164, allocations: 255.7 kB / 0.6961 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2164, allocations: 7.984 kB / 0.6961 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2164, allocations: 4 kB / 0.6961 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-06/0.2164, allocations: 0 / 0.6961 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.2166, allocations: 43.97 kB / 0.6962 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2166, allocations: 7.938 kB / 0.6962 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.2169, allocations: 35.88 kB / 0.6962 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.217, allocations: 12 kB / 0.6962 GB, free: 5.586 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.0001341/0.2171, allocations: 192.2 kB / 0.6964 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.2172, allocations: 39.53 kB / 0.6965 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/0.2178, allocations: 253.1 kB / 0.6967 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.2178, allocations: 4 kB / 0.6967 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2178, allocations: 0 / 0.6967 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2178, allocations: 7.938 kB / 0.6967 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.2189, allocations: 0.6966 MB / 0.6974 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.2189, allocations: 0 / 0.6974 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.219, allocations: 40.03 kB / 0.6974 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.219, allocations: 8.062 kB / 0.6974 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2191, allocations: 8 kB / 0.6974 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2191, allocations: 0 / 0.6974 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2191, allocations: 4.094 kB / 0.6974 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.2196, allocations: 351.2 kB / 0.6978 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.2197, allocations: 140.4 kB / 0.6979 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.2198, allocations: 4 kB / 0.6979 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.22, allocations: 15.92 kB / 0.6979 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.2201, allocations: 15.98 kB / 0.6979 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2201, allocations: 11.98 kB / 0.698 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003736/0.2205, allocations: 334.9 kB / 0.6983 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2205, allocations: 0 / 0.6983 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007288/0.2212, allocations: 195.6 kB / 0.6985 GB, free: 3.172 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.001215/0.2225, allocations: 480.5 kB / 0.6989 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007088/0.2232, allocations: 271.6 kB / 0.6992 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2232, allocations: 0 / 0.6992 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.2234, allocations: 84.02 kB / 0.6993 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.2244, allocations: 210.2 kB / 0.6995 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.2258, allocations: 0.7223 MB / 0.7002 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.2262, allocations: 0.8309 MB / 0.701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2263, allocations: 39.42 kB / 0.701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.2263, allocations: 0 / 0.701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of Templates: time 0.01282/0.2391, allocations: 7.356 MB / 0.7082 GB, free: 9.32 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)