Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009888/0.009888, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002348/0.002348, allocations: 194.2 kB / 16.67 MB, free: 5.52 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.411/1.411, allocations: 222.9 MB / 240.4 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.8224/0.8224, allocations: 132.2 MB / 422.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 62.28 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1782, allocations: 80.22 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02021/0.1985, allocations: 15.55 MB / 0.6749 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007496/0.206, allocations: 4.321 MB / 0.6791 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.2069, allocations: 15.88 kB / 0.6791 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.2083, allocations: 270.3 kB / 0.6794 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.2105, allocations: 0.6335 MB / 0.68 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.2129, allocations: 0.7104 MB / 0.6807 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.2149, allocations: 1.04 MB / 0.6817 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.2156, allocations: 331.8 kB / 0.682 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.2169, allocations: 434.3 kB / 0.6824 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.2176, allocations: 322.5 kB / 0.6827 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2178, allocations: 28 kB / 0.6827 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.2191, allocations: 0.6278 MB / 0.6834 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.2193, allocations: 99.55 kB / 0.6835 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.2197, allocations: 226.7 kB / 0.6837 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.2212, allocations: 0.775 MB / 0.6844 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2213, allocations: 0 / 0.6844 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2213, allocations: 0 / 0.6844 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.452e-05/0.2213, allocations: 4 kB / 0.6844 GB, free: 0.8359 MB / 0.5137 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.001888/0.2232, allocations: 0.8213 MB / 0.6852 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2232, allocations: 8.031 kB / 0.6852 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.2234, allocations: 56.28 kB / 0.6853 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009302/0.2244, allocations: 444.5 kB / 0.6857 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.2244, allocations: 24.44 kB / 0.6857 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.2245, allocations: 28 kB / 0.6858 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.2249, allocations: 207.2 kB / 0.686 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.225, allocations: 0 / 0.686 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.225, allocations: 15.98 kB / 0.686 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.225, allocations: 4 kB / 0.686 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.2254, allocations: 169.6 kB / 0.6862 GB, free: 14.98 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.001738/0.2271, allocations: 0.9456 MB / 0.6871 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.2274, allocations: 130.6 kB / 0.6872 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.2276, allocations: 72.81 kB / 0.6873 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.2279, allocations: 332.4 kB / 0.6876 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.2279, allocations: 38.56 kB / 0.6876 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 2.445e-06/0.2279, allocations: 3.938 kB / 0.6876 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006679/0.2286, allocations: 239.7 kB / 0.6879 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2287, allocations: 51.41 kB / 0.6879 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.2292, allocations: 474 kB / 0.6884 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.2293, allocations: 33.7 kB / 0.6884 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.2294, allocations: 224.6 kB / 0.6886 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.2295, allocations: 55.36 kB / 0.6887 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.2296, allocations: 61.59 kB / 0.6887 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2297, allocations: 354.7 kB / 0.6891 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.2299, allocations: 72.81 kB / 0.6891 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.2302, allocations: 151.6 kB / 0.6893 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.2305, allocations: 164.2 kB / 0.6894 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2306, allocations: 0 / 0.6894 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005477/0.2311, allocations: 248.9 kB / 0.6897 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2311, allocations: 11.98 kB / 0.6897 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2312, allocations: 0 / 0.6897 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2312, allocations: 0 / 0.6897 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2314, allocations: 52.06 kB / 0.6897 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2314, allocations: 4 kB / 0.6897 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.2318, allocations: 43.59 kB / 0.6898 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.2318, allocations: 11.98 kB / 0.6898 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003023/0.2321, allocations: 193 kB / 0.69 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002488/0.2324, allocations: 169.2 kB / 0.6901 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003271/0.2327, allocations: 172.2 kB / 0.6903 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.2327, allocations: 0 / 0.6903 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004938/0.2332, allocations: 245 kB / 0.6905 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2332, allocations: 10.22 kB / 0.6905 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.2332, allocations: 0 / 0.6905 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-06/0.2332, allocations: 7.938 kB / 0.6905 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.2334, allocations: 39.97 kB / 0.6906 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2335, allocations: 8 kB / 0.6906 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.2338, allocations: 43.81 kB / 0.6906 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.2338, allocations: 8 kB / 0.6906 GB, free: 10.06 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.0001067/0.234, allocations: 196.2 kB / 0.6908 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.234, allocations: 43.44 kB / 0.6909 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.2346, allocations: 252.3 kB / 0.6911 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2346, allocations: 7.984 kB / 0.6911 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2346, allocations: 0 / 0.6911 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2346, allocations: 3.938 kB / 0.6911 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.2356, allocations: 0.6998 MB / 0.6918 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2356, allocations: 0 / 0.6918 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2358, allocations: 31.92 kB / 0.6918 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2358, allocations: 3.938 kB / 0.6918 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2358, allocations: 11.94 kB / 0.6918 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2358, allocations: 7.984 kB / 0.6919 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2358, allocations: 0 / 0.6919 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.2363, allocations: 338.4 kB / 0.6922 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.2365, allocations: 144.4 kB / 0.6923 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.2365, allocations: 4 kB / 0.6923 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.2367, allocations: 15.98 kB / 0.6923 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.2368, allocations: 15.98 kB / 0.6923 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2368, allocations: 4 kB / 0.6923 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003514/0.2372, allocations: 338.8 kB / 0.6927 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2372, allocations: 0 / 0.6927 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006637/0.2379, allocations: 203.6 kB / 0.6929 GB, free: 7.645 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.001122/0.239, allocations: 481.9 kB / 0.6933 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006896/0.2397, allocations: 267.7 kB / 0.6936 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2397, allocations: 0 / 0.6936 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.2399, allocations: 91.81 kB / 0.6937 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.241, allocations: 199.6 kB / 0.6939 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2425, allocations: 0.7128 MB / 0.6946 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.2429, allocations: 0.8192 MB / 0.6954 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.2432, allocations: 87.19 kB / 0.6954 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.2434, allocations: 39.44 kB / 0.6955 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.2434, allocations: 4 kB / 0.6955 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.01576/0.2591, allocations: 8.509 MB / 0.7038 GB, free: 12.69 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)