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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002661/0.002661, allocations: 213.7 kB / 22.24 MB, free: 5.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.686/1.686, allocations: 230.6 MB / 256 MB, free: 7.789 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.9329/0.9329, allocations: 134 MB / 446.4 MB, free: 9.914 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.5 kB / 0.619 GB, free: 6.359 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2396, allocations: 85.92 MB / 0.7029 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02271/0.2623, allocations: 14.54 MB / 0.7171 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009069/0.2714, allocations: 4.14 MB / 0.7211 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.2724, allocations: 23.75 kB / 0.7211 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.2739, allocations: 270.3 kB / 0.7214 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.2766, allocations: 0.6764 MB / 0.7221 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.2791, allocations: 0.7153 MB / 0.7227 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.2811, allocations: 1.052 MB / 0.7238 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007383/0.2818, allocations: 284.3 kB / 0.724 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.283, allocations: 450.3 kB / 0.7245 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007121/0.2838, allocations: 318.5 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.2839, allocations: 28 kB / 0.7248 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.2852, allocations: 0.542 MB / 0.7253 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.2854, allocations: 119.5 kB / 0.7255 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.2857, allocations: 175.1 kB / 0.7256 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.2874, allocations: 0.7744 MB / 0.7264 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2874, allocations: 0 / 0.7264 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2874, allocations: 0 / 0.7264 GB, free: 8.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.279e-05/0.2874, allocations: 0 / 0.7264 GB, free: 8.387 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.001897/0.2893, allocations: 0.7878 MB / 0.7271 GB, free: 7.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.2894, allocations: 12.03 kB / 0.7272 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.2896, allocations: 52.61 kB / 0.7272 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.2905, allocations: 381.8 kB / 0.7276 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.2906, allocations: 28.42 kB / 0.7276 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.2906, allocations: 28 kB / 0.7276 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.2911, allocations: 207.2 kB / 0.7278 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2912, allocations: 0 / 0.7278 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.2912, allocations: 11.94 kB / 0.7278 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.2912, allocations: 4 kB / 0.7278 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.2916, allocations: 165.6 kB / 0.728 GB, free: 6.664 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.001866/0.2935, allocations: 0.7106 MB / 0.7287 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.2938, allocations: 134.5 kB / 0.7288 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.294, allocations: 64.81 kB / 0.7289 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.2942, allocations: 31.97 kB / 0.7289 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.2942, allocations: 34.56 kB / 0.7289 GB, free: 5.637 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.2942, allocations: 0 / 0.7289 GB, free: 5.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007174/0.2949, allocations: 241.2 kB / 0.7292 GB, free: 5.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.295, allocations: 59.41 kB / 0.7292 GB, free: 5.324 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/0.2956, allocations: 445.9 kB / 0.7297 GB, free: 4.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.2956, allocations: 29.7 kB / 0.7297 GB, free: 4.848 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.2959, allocations: 244.7 kB / 0.7299 GB, free: 4.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.2959, allocations: 43.58 kB / 0.73 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.296, allocations: 65.64 kB / 0.73 GB, free: 4.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002257/0.2962, allocations: 354.7 kB / 0.7304 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.2964, allocations: 72.81 kB / 0.7304 GB, free: 4.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.2969, allocations: 411.9 kB / 0.7308 GB, free: 3.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.2973, allocations: 162.4 kB / 0.731 GB, free: 3.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2973, allocations: 0 / 0.731 GB, free: 3.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005982/0.2979, allocations: 251.3 kB / 0.7312 GB, free: 3.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.2979, allocations: 8 kB / 0.7312 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2979, allocations: 0 / 0.7312 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2979, allocations: 0 / 0.7312 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.2982, allocations: 51.91 kB / 0.7313 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2982, allocations: 4 kB / 0.7313 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.2986, allocations: 35.81 kB / 0.7313 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.2986, allocations: 15.98 kB / 0.7313 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003591/0.299, allocations: 195.9 kB / 0.7315 GB, free: 2.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004658/0.2994, allocations: 414.4 kB / 0.7319 GB, free: 2.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003776/0.2998, allocations: 175.4 kB / 0.7321 GB, free: 2.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.2998, allocations: 0 / 0.7321 GB, free: 2.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000582/0.3004, allocations: 249.3 kB / 0.7323 GB, free: 1.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3004, allocations: 8 kB / 0.7323 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.3004, allocations: 0 / 0.7323 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-06/0.3004, allocations: 4 kB / 0.7323 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.3006, allocations: 47.97 kB / 0.7324 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.3006, allocations: 4 kB / 0.7324 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.301, allocations: 36.05 kB / 0.7324 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.301, allocations: 12 kB / 0.7324 GB, free: 1.801 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.0001645/0.3012, allocations: 200.1 kB / 0.7326 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.3013, allocations: 43.72 kB / 0.7327 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006414/0.3019, allocations: 251.4 kB / 0.7329 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3019, allocations: 0 / 0.7329 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3019, allocations: 0 / 0.7329 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.302, allocations: 3.984 kB / 0.7329 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3031, allocations: 0.622 MB / 0.7335 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3031, allocations: 4 kB / 0.7335 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.3033, allocations: 32.11 kB / 0.7335 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3033, allocations: 0 / 0.7335 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3033, allocations: 8 kB / 0.7335 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.3033, allocations: 7.938 kB / 0.7336 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3033, allocations: 0 / 0.7336 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.3039, allocations: 342.5 kB / 0.7339 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.3041, allocations: 59.62 kB / 0.7339 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.3041, allocations: 0 / 0.7339 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.3043, allocations: 23.92 kB / 0.734 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.3044, allocations: 19.97 kB / 0.734 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3044, allocations: 4 kB / 0.734 GB, free: 112 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004467/0.3049, allocations: 315.1 kB / 0.7343 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3049, allocations: 0 / 0.7343 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008742/0.3057, allocations: 211.5 kB / 0.7345 GB, free: 15.6 MB / 0.5606 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.001991/0.3077, allocations: 497.5 kB / 0.735 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007484/0.3085, allocations: 263.6 kB / 0.7352 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3085, allocations: 0 / 0.7352 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.3087, allocations: 84.14 kB / 0.7353 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.3097, allocations: 173.8 kB / 0.7355 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3113, allocations: 0.7057 MB / 0.7361 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3116, allocations: 235.6 kB / 0.7364 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003782/0.312, allocations: 88.34 kB / 0.7365 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3121, allocations: 39.42 kB / 0.7365 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.3121, allocations: 0 / 0.7365 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of Templates: time 0.01813/0.3303, allocations: 8.901 MB / 0.7452 GB, free: 4.953 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.889163725078106] Failed to read output from testmodel.py, exit status != 0: 0.3389893211424351 0.76353584 0.472709715 Calling exit ...