Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 110.2 kB / 18.94 MB, free: 2.785 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.001961/0.001961, allocations: 189.8 kB / 22.23 MB, free: 5.242 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.423/1.423, allocations: 225.6 MB / 251 MB, free: 13.01 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.8376/0.8376, allocations: 134 MB / 440.3 MB, free: 300 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 69.48 kB / 0.6107 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1812, allocations: 84.72 MB / 0.6935 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02209/0.2033, allocations: 17.78 MB / 0.7108 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008548/0.2119, allocations: 4.969 MB / 0.7157 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.2126, allocations: 19.81 kB / 0.7157 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009693/0.2135, allocations: 262.3 kB / 0.716 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.2154, allocations: 0.6531 MB / 0.7166 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.2177, allocations: 0.7513 MB / 0.7173 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.2193, allocations: 0.9858 MB / 0.7183 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005293/0.2198, allocations: 273.6 kB / 0.7186 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008838/0.2207, allocations: 438.2 kB / 0.719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.2212, allocations: 330.6 kB / 0.7193 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.2212, allocations: 28 kB / 0.7193 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.2228, allocations: 0.7564 MB / 0.7201 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.223, allocations: 131.5 kB / 0.7202 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.2232, allocations: 250.6 kB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.2247, allocations: 0.8873 MB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2248, allocations: 4 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2248, allocations: 0 / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2248, allocations: 0 / 0.7213 GB, free: 12.43 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001454/0.2262, allocations: 0.8306 MB / 0.7221 GB, free: 11.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2263, allocations: 8.031 kB / 0.7221 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2264, allocations: 60.56 kB / 0.7222 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/0.2273, allocations: 410 kB / 0.7226 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.2273, allocations: 24.48 kB / 0.7226 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.2273, allocations: 32 kB / 0.7226 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.2279, allocations: 281.3 kB / 0.7229 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.228, allocations: 3.938 kB / 0.7229 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.228, allocations: 12 kB / 0.7229 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.228, allocations: 4 kB / 0.7229 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.2284, allocations: 189.8 kB / 0.7231 GB, free: 10.51 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.002189/0.2306, allocations: 1.441 MB / 0.7245 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.231, allocations: 150.8 kB / 0.7246 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.2312, allocations: 84.81 kB / 0.7247 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.2326, allocations: 0.5739 MB / 0.7253 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2326, allocations: 34.56 kB / 0.7253 GB, free: 8.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.744e-06/0.2326, allocations: 0 / 0.7253 GB, free: 8.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007108/0.2333, allocations: 253.1 kB / 0.7255 GB, free: 7.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.2334, allocations: 59.39 kB / 0.7256 GB, free: 7.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/0.2342, allocations: 0.5809 MB / 0.7262 GB, free: 7.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.2342, allocations: 29.7 kB / 0.7262 GB, free: 7.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.2344, allocations: 276.5 kB / 0.7265 GB, free: 6.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.2345, allocations: 63.47 kB / 0.7265 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2346, allocations: 69.97 kB / 0.7266 GB, free: 6.723 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2348, allocations: 358.8 kB / 0.7269 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.235, allocations: 77.94 kB / 0.727 GB, free: 6.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.2354, allocations: 211.3 kB / 0.7272 GB, free: 6.031 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.2359, allocations: 239.1 kB / 0.7274 GB, free: 5.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2359, allocations: 3.938 kB / 0.7274 GB, free: 5.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006586/0.2365, allocations: 315.9 kB / 0.7277 GB, free: 5.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2366, allocations: 11.11 kB / 0.7277 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2366, allocations: 4.25 kB / 0.7278 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2366, allocations: 8 kB / 0.7278 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.2369, allocations: 63.91 kB / 0.7278 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2369, allocations: 4 kB / 0.7278 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.2372, allocations: 43.72 kB / 0.7279 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.2373, allocations: 19.98 kB / 0.7279 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003691/0.2376, allocations: 212.6 kB / 0.7281 GB, free: 5.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003374/0.238, allocations: 214.6 kB / 0.7283 GB, free: 4.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004433/0.2384, allocations: 233.2 kB / 0.7285 GB, free: 4.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.2384, allocations: 0 / 0.7285 GB, free: 4.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006415/0.239, allocations: 315 kB / 0.7288 GB, free: 4.258 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2391, allocations: 8 kB / 0.7288 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2391, allocations: 256 / 0.7288 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.2391, allocations: 8 kB / 0.7288 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.2393, allocations: 63.91 kB / 0.7289 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2393, allocations: 4 kB / 0.7289 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.2397, allocations: 39.81 kB / 0.7289 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.2397, allocations: 16 kB / 0.729 GB, free: 4.121 MB / 0.545 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.0001819/0.2399, allocations: 208.1 kB / 0.7291 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.24, allocations: 47.67 kB / 0.7292 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.2406, allocations: 261.8 kB / 0.7294 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.2406, allocations: 3.984 kB / 0.7294 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2406, allocations: 0 / 0.7294 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2407, allocations: 0 / 0.7294 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.2419, allocations: 0.7143 MB / 0.7301 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2419, allocations: 0 / 0.7301 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2421, allocations: 31.92 kB / 0.7302 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.2421, allocations: 4 kB / 0.7302 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.2421, allocations: 0 / 0.7302 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.2421, allocations: 7.984 kB / 0.7302 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2421, allocations: 0 / 0.7302 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.2427, allocations: 374.8 kB / 0.7305 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.2428, allocations: 71.52 kB / 0.7306 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.2429, allocations: 16 kB / 0.7306 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.2431, allocations: 7.984 kB / 0.7306 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.2432, allocations: 23.91 kB / 0.7307 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2432, allocations: 4 kB / 0.7307 GB, free: 2.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005215/0.2437, allocations: 422.8 kB / 0.7311 GB, free: 1.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2437, allocations: 0 / 0.7311 GB, free: 1.855 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007692/0.2445, allocations: 227.6 kB / 0.7313 GB, free: 1.633 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.001626/0.2461, allocations: 493.1 kB / 0.7318 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008157/0.2469, allocations: 314 kB / 0.7321 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2469, allocations: 1 kB / 0.7321 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.2471, allocations: 86.27 kB / 0.7321 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.2484, allocations: 249.9 kB / 0.7324 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.2499, allocations: 0.8211 MB / 0.7332 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.2505, allocations: 0.8467 MB / 0.734 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.2508, allocations: 103.9 kB / 0.7341 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/0.2509, allocations: 43.42 kB / 0.7341 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2509, allocations: 0 / 0.7341 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02059/0.2715, allocations: 10.42 MB / 0.7443 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.20199128985405] Failed to read output from testmodel.py, exit status != 0: 0.27958615869283676 0.619394152 0.390851981 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa0630dd7b0>