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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 189.4 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 251 MB, free: 13.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.863/0.863, allocations: 134 MB / 440.3 MB, free: 208 kB / 334.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.05 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1769, allocations: 84.72 MB / 0.6935 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01819/0.1951, allocations: 15.81 MB / 0.7089 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008094/0.2032, allocations: 4.381 MB / 0.7132 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006221/0.2038, allocations: 31.69 kB / 0.7132 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.2048, allocations: 262.3 kB / 0.7135 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.2066, allocations: 0.6413 MB / 0.7141 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.2085, allocations: 0.7331 MB / 0.7148 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.2101, allocations: 1.04 MB / 0.7158 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.2105, allocations: 276.4 kB / 0.7161 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.2113, allocations: 450.2 kB / 0.7165 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.2117, allocations: 330.6 kB / 0.7168 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.2118, allocations: 28 kB / 0.7169 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.213, allocations: 0.6512 MB / 0.7175 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2132, allocations: 115.5 kB / 0.7176 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.2134, allocations: 218.8 kB / 0.7178 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.2146, allocations: 0.7744 MB / 0.7186 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2146, allocations: 0 / 0.7186 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2146, allocations: 0 / 0.7186 GB, free: 15.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.2146, allocations: 4 kB / 0.7186 GB, free: 15.23 MB / 0.545 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.001297/0.2159, allocations: 0.7801 MB / 0.7193 GB, free: 14.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2159, allocations: 8.031 kB / 0.7194 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.2161, allocations: 60.59 kB / 0.7194 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.2168, allocations: 373.9 kB / 0.7198 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.2168, allocations: 20.44 kB / 0.7198 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.2169, allocations: 28 kB / 0.7198 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.2173, allocations: 211.2 kB / 0.72 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2173, allocations: 8 kB / 0.72 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.2173, allocations: 4 kB / 0.72 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2174, allocations: 4 kB / 0.72 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.2178, allocations: 161.6 kB / 0.7202 GB, free: 13.53 MB / 0.545 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.001652/0.2194, allocations: 0.9112 MB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.2197, allocations: 130.6 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.2199, allocations: 64.81 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.22, allocations: 31.97 kB / 0.7213 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2201, allocations: 30.56 kB / 0.7213 GB, free: 12.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.2201, allocations: 0 / 0.7213 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006659/0.2207, allocations: 248.1 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2208, allocations: 55.41 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.2213, allocations: 485.9 kB / 0.7221 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2214, allocations: 29.7 kB / 0.7221 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.2216, allocations: 228.8 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.2216, allocations: 43.59 kB / 0.7224 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2217, allocations: 65.62 kB / 0.7224 GB, free: 11.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2219, allocations: 358.7 kB / 0.7228 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.2221, allocations: 72.81 kB / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.2224, allocations: 151.6 kB / 0.723 GB, free: 10.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.2227, allocations: 165.4 kB / 0.7231 GB, free: 10.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2227, allocations: 4 kB / 0.7231 GB, free: 10.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005294/0.2233, allocations: 253.2 kB / 0.7234 GB, free: 10.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2233, allocations: 4 kB / 0.7234 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2233, allocations: 4 kB / 0.7234 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2233, allocations: 0 / 0.7234 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.2235, allocations: 51.91 kB / 0.7234 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2235, allocations: 0 / 0.7234 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.2239, allocations: 47.69 kB / 0.7235 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.2239, allocations: 16 kB / 0.7235 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003053/0.2242, allocations: 188.1 kB / 0.7237 GB, free: 9.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002697/0.2245, allocations: 165.2 kB / 0.7238 GB, free: 9.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003489/0.2248, allocations: 172.1 kB / 0.724 GB, free: 9.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.2248, allocations: 0 / 0.724 GB, free: 9.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000534/0.2254, allocations: 255.9 kB / 0.7242 GB, free: 9.121 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2254, allocations: 4 kB / 0.7242 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2254, allocations: 4 kB / 0.7243 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.2254, allocations: 0 / 0.7243 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.2256, allocations: 47.91 kB / 0.7243 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.2256, allocations: 64 / 0.7243 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.2259, allocations: 39.86 kB / 0.7243 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.2259, allocations: 8 kB / 0.7243 GB, free: 9.02 MB / 0.545 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.000204/0.2261, allocations: 196.1 kB / 0.7245 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.2262, allocations: 43.72 kB / 0.7246 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.2268, allocations: 262.1 kB / 0.7248 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.2268, allocations: 4 kB / 0.7248 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2268, allocations: 3.938 kB / 0.7248 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2268, allocations: 4.125 kB / 0.7248 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.2279, allocations: 0.6802 MB / 0.7255 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.2279, allocations: 7.984 kB / 0.7255 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.228, allocations: 27.97 kB / 0.7255 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2281, allocations: 7.938 kB / 0.7255 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2281, allocations: 8 kB / 0.7255 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2281, allocations: 0 / 0.7255 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.2281, allocations: 3.938 kB / 0.7256 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.2286, allocations: 334.8 kB / 0.7259 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.2287, allocations: 71.55 kB / 0.7259 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.2287, allocations: 4 kB / 0.7259 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.229, allocations: 15.98 kB / 0.726 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.229, allocations: 11.98 kB / 0.726 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.229, allocations: 15.92 kB / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003994/0.2294, allocations: 334.9 kB / 0.7263 GB, free: 6.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2294, allocations: 0 / 0.7263 GB, free: 6.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006569/0.2301, allocations: 203.5 kB / 0.7265 GB, free: 6.715 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 (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.001572/0.2317, allocations: 479.7 kB / 0.727 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006924/0.2323, allocations: 259.7 kB / 0.7272 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2323, allocations: 3.938 kB / 0.7272 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.2325, allocations: 79.89 kB / 0.7273 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2336, allocations: 205 kB / 0.7275 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2349, allocations: 0.7167 MB / 0.7282 GB, free: 5.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.2353, allocations: 0.823 MB / 0.729 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.2356, allocations: 90.97 kB / 0.7291 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.2357, allocations: 43.42 kB / 0.7291 GB, free: 4.137 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.2357, allocations: 3.938 kB / 0.7291 GB, free: 4.133 MB / 0.545 GB Notification: Performance of Templates: time 0.01589/0.2515, allocations: 8.648 MB / 0.7376 GB, free: 11.63 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2303728917613626] Failed to read output from testmodel.py, exit status != 0: 0.2595175364986062 0.578306563 0.35908652300000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f363e0fd7b0>