Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.001842/0.001842, allocations: 104.9 kB / 16.45 MB, free: 6.512 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.002145/0.002145, allocations: 198.8 kB / 19.41 MB, free: 3.668 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.616/1.616, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.8534/0.8534, allocations: 134 MB / 436.6 MB, free: 1.289 MB / 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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002858/0.002858, allocations: 64.11 kB / 0.6056 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2137, allocations: 84.67 MB / 0.6883 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03621/0.2499, allocations: 30.06 MB / 0.7176 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2632, allocations: 8.149 MB / 0.7256 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.2651, allocations: 31.75 kB / 0.7256 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.2667, allocations: 448.9 kB / 0.7261 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.2718, allocations: 1.431 MB / 0.7275 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.2755, allocations: 1.146 MB / 0.7286 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005576/0.2811, allocations: 3.541 MB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.2835, allocations: 1.228 MB / 0.7332 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.2869, allocations: 1.702 MB / 0.7349 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003333/0.2903, allocations: 1.678 MB / 0.7365 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00053/0.2908, allocations: 128 kB / 0.7367 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.2933, allocations: 1.026 MB / 0.7377 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.2938, allocations: 414.6 kB / 0.7381 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.295, allocations: 0.7428 MB / 0.7388 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.2981, allocations: 2.215 MB / 0.7409 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2981, allocations: 0 / 0.7409 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2981, allocations: 0 / 0.7409 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.394e-05/0.2982, allocations: 0 / 0.7409 GB, free: 4.504 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003244/0.3014, allocations: 1.728 MB / 0.7426 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3015, allocations: 8.031 kB / 0.7426 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003974/0.3019, allocations: 155.3 kB / 0.7428 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.3037, allocations: 0.9308 MB / 0.7437 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.3038, allocations: 81.31 kB / 0.7438 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.3041, allocations: 116 kB / 0.7439 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.3053, allocations: 0.6395 MB / 0.7445 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3053, allocations: 0 / 0.7445 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.3054, allocations: 23.94 kB / 0.7445 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.3054, allocations: 16 kB / 0.7445 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.3063, allocations: 464.9 kB / 0.745 GB, free: 228 kB / 0.5606 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.004726/0.3111, allocations: 2.868 MB / 0.7478 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.3117, allocations: 289.4 kB / 0.7481 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.312, allocations: 141.3 kB / 0.7482 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003753/0.3124, allocations: 344.7 kB / 0.7485 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.3124, allocations: 34.84 kB / 0.7486 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.3124, allocations: 0 / 0.7486 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001433/0.3139, allocations: 0.5377 MB / 0.7491 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3139, allocations: 59.41 kB / 0.7491 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3151, allocations: 0.9075 MB / 0.75 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.3152, allocations: 57.7 kB / 0.7501 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.3157, allocations: 491.3 kB / 0.7506 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3158, allocations: 119 kB / 0.7507 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004522/0.3163, allocations: 291 kB / 0.7509 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3165, allocations: 334.1 kB / 0.7513 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.3169, allocations: 201.3 kB / 0.7515 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.3185, allocations: 1.147 MB / 0.7526 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009022/0.3194, allocations: 463.4 kB / 0.753 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3194, allocations: 0 / 0.753 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001467/0.3209, allocations: 0.6506 MB / 0.7537 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3209, allocations: 4 kB / 0.7537 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3209, allocations: 4 kB / 0.7537 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.3209, allocations: 8.188 kB / 0.7537 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.3223, allocations: 235.7 kB / 0.7539 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.3244, allocations: 2.958 MB / 0.7568 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/0.3277, allocations: 0.695 MB / 0.7575 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.3278, allocations: 27.98 kB / 0.7575 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008051/0.3286, allocations: 373.3 kB / 0.7578 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001659/0.3303, allocations: 1.162 MB / 0.759 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008908/0.3312, allocations: 456.8 kB / 0.7594 GB, free: 208 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.3312, allocations: 4 kB / 0.7594 GB, free: 204 kB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.3565/0.6877, allocations: 0.6584 MB / 0.7601 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6877, allocations: 5.281 kB / 0.7601 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.6877, allocations: 3.656 kB / 0.7601 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.6877, allocations: 5.844 kB / 0.7601 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.6884, allocations: 161.2 kB / 0.7602 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.6884, allocations: 7.203 kB / 0.7602 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/0.6934, allocations: 0.9647 MB / 0.7612 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.6935, allocations: 26.47 kB / 0.7612 GB, free: 70.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.6939, allocations: 244 kB / 0.7614 GB, free: 70.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.6942, allocations: 100.7 kB / 0.7615 GB, free: 70.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6955, allocations: 0.5127 MB / 0.762 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.6955, allocations: 5.203 kB / 0.762 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6955, allocations: 0 / 0.762 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.6955, allocations: 4.328 kB / 0.762 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.6977, allocations: 1.26 MB / 0.7633 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6977, allocations: 1.719 kB / 0.7633 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.6982, allocations: 114.9 kB / 0.7634 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.6982, allocations: 3.266 kB / 0.7634 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.6983, allocations: 13.81 kB / 0.7634 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00088/0.6991, allocations: 2.94 MB / 0.7663 GB, free: 67.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6991, allocations: 9.547 kB / 0.7663 GB, free: 67.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009652/0.7001, allocations: 0.5698 MB / 0.7668 GB, free: 66.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.7004, allocations: 221.3 kB / 0.767 GB, free: 66.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.7005, allocations: 7.359 kB / 0.7671 GB, free: 66.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.701, allocations: 30.69 kB / 0.7671 GB, free: 66.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.7011, allocations: 28.77 kB / 0.7671 GB, free: 66.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.7011, allocations: 14.53 kB / 0.7671 GB, free: 66.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001011/0.7021, allocations: 0.6077 MB / 0.7677 GB, free: 66.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7021, allocations: 0 / 0.7677 GB, free: 66.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002078/0.7042, allocations: 0.5416 MB / 0.7682 GB, free: 66.59 MB / 0.5762 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008475/0.705, allocations: 333.2 kB / 0.7686 GB, free: 66.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.708, allocations: 0.8035 MB / 0.7693 GB, free: 66.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.708, allocations: 4.688 kB / 0.7694 GB, free: 66.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.7086, allocations: 214.5 kB / 0.7696 GB, free: 66.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.7107, allocations: 418.5 kB / 0.77 GB, free: 66.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.7137, allocations: 1.548 MB / 0.7715 GB, free: 65.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.7143, allocations: 1.029 MB / 0.7725 GB, free: 64.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001222/0.7155, allocations: 209.2 kB / 0.7727 GB, free: 64.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.7157, allocations: 78.34 kB / 0.7727 GB, free: 64.57 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.7157, allocations: 0 / 0.7727 GB, free: 64.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.05052/0.7662, allocations: 25.19 MB / 0.7973 GB, free: 52.48 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.378549584187567]