Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.001396/0.001396, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001691/0.001691, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.785 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.9098/0.9098, allocations: 134 MB / 446.4 MB, free: 9.91 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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") [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.002081/0.002081, allocations: 70.78 kB / 0.619 GB, free: 6.375 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2449, allocations: 85.91 MB / 0.7029 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.63/0.8749, allocations: 103.9 MB / 0.8043 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03784/0.9127, allocations: 18.92 MB / 0.8228 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006993/0.9197, allocations: 148.4 kB / 0.8229 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0058/0.9255, allocations: 1.274 MB / 0.8242 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.942, allocations: 3.966 MB / 0.8281 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.953, allocations: 3.151 MB / 0.8311 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01316/0.9661, allocations: 7.333 MB / 0.8383 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.9704, allocations: 1.987 MB / 0.8402 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008942/0.9794, allocations: 2.977 MB / 0.8431 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005835/0.9852, allocations: 2.147 MB / 0.8452 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.9864, allocations: 252 kB / 0.8455 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005373/0.9918, allocations: 1.435 MB / 0.8469 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.9935, allocations: 0.7197 MB / 0.8476 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003137/0.9966, allocations: 1.217 MB / 0.8488 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009625/1.006, allocations: 4.498 MB / 0.8532 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/1.006, allocations: 3.938 kB / 0.8532 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.713e-06/1.006, allocations: 0 / 0.8532 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001283/1.006, allocations: 0 / 0.8532 GB, free: 13.95 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.007073/1.013, allocations: 3.264 MB / 0.8564 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.013, allocations: 8.031 kB / 0.8564 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009549/1.014, allocations: 345.9 kB / 0.8567 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004718/1.019, allocations: 2.158 MB / 0.8588 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.019, allocations: 135 kB / 0.8589 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/1.02, allocations: 164 kB / 0.8591 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/1.023, allocations: 1.913 MB / 0.8609 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/1.023, allocations: 0 / 0.8609 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/1.023, allocations: 71.92 kB / 0.861 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/1.023, allocations: 43.92 kB / 0.8611 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/1.026, allocations: 1.143 MB / 0.8622 GB, free: 4.449 MB / 0.6231 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.01177/1.037, allocations: 5.494 MB / 0.8675 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009131/1.038, allocations: 443.2 kB / 0.868 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/1.039, allocations: 302.7 kB / 0.8683 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/1.039, allocations: 84.44 kB / 0.8683 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/1.039, allocations: 43.06 kB / 0.8684 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 3.666e-06/1.039, allocations: 0 / 0.8684 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002541/1.042, allocations: 0.9682 MB / 0.8693 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/1.042, allocations: 59.91 kB / 0.8694 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/1.045, allocations: 2.119 MB / 0.8714 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002253/1.046, allocations: 49.7 kB / 0.8715 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/1.047, allocations: 1.193 MB / 0.8727 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/1.047, allocations: 222.1 kB / 0.8729 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/1.048, allocations: 250.8 kB / 0.8731 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002748/1.048, allocations: 353.9 kB / 0.8734 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007377/1.049, allocations: 365.8 kB / 0.8738 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.05, allocations: 1.198 MB / 0.875 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/1.052, allocations: 0.9899 MB / 0.8759 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.052, allocations: 0 / 0.8759 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003286/1.055, allocations: 1.281 MB / 0.8772 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.055, allocations: 9.719 kB / 0.8772 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.055, allocations: 8 kB / 0.8772 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.825e-05/1.055, allocations: 16 kB / 0.8772 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.056, allocations: 255.6 kB / 0.8775 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/1.056, allocations: 19.98 kB / 0.8775 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/1.058, allocations: 143.5 kB / 0.8776 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.058, allocations: 59.92 kB / 0.8777 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001827/1.06, allocations: 0.7602 MB / 0.8784 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001639/1.062, allocations: 1.191 MB / 0.8796 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001524/1.063, allocations: 0.9563 MB / 0.8805 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/1.063, allocations: 0 / 0.8805 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002828/1.066, allocations: 1.252 MB / 0.8817 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.066, allocations: 8 kB / 0.8817 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.066, allocations: 8 kB / 0.8817 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.066, allocations: 16 kB / 0.8818 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/1.067, allocations: 251.6 kB / 0.882 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/1.067, allocations: 15.94 kB / 0.882 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/1.069, allocations: 131.8 kB / 0.8821 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/1.069, allocations: 51.98 kB / 0.8822 GB, free: 14.94 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0004812/1.07, allocations: 255.9 kB / 0.8824 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/1.07, allocations: 218.5 kB / 0.8826 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/1.072, allocations: 0.8851 MB / 0.8835 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/1.072, allocations: 8 kB / 0.8835 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.072, allocations: 0 / 0.8835 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/1.073, allocations: 0.6875 MB / 0.8842 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/1.078, allocations: 2.193 MB / 0.8863 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.078, allocations: 0 / 0.8863 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/1.078, allocations: 127.8 kB / 0.8865 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.078, allocations: 4 kB / 0.8865 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/1.078, allocations: 23.98 kB / 0.8865 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/1.078, allocations: 8 kB / 0.8865 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.078, allocations: 0 / 0.8865 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/1.081, allocations: 1.316 MB / 0.8878 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009215/1.082, allocations: 328.3 kB / 0.8881 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/1.082, allocations: 12 kB / 0.8881 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/1.083, allocations: 43.94 kB / 0.8881 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.083, allocations: 48.36 kB / 0.8882 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/1.083, allocations: 39.97 kB / 0.8882 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002324/1.085, allocations: 1.391 MB / 0.8896 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 0 / 0.8896 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003336/1.089, allocations: 1.173 MB / 0.8907 GB, free: 6.066 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002509/1.091, allocations: 0.7646 MB / 0.8915 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00304/1.094, allocations: 1.277 MB / 0.8927 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/1.094, allocations: 4 kB / 0.8927 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/1.095, allocations: 300.4 kB / 0.893 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005172/1.1, allocations: 1.175 MB / 0.8942 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00685/1.107, allocations: 3.728 MB / 0.8978 GB, free: 15 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.108, allocations: 1.031 MB / 0.8988 GB, free: 13.93 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00199/1.11, allocations: 472.3 kB / 0.8993 GB, free: 13.47 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/1.111, allocations: 163.4 kB / 0.8994 GB, free: 13.31 MB / 0.67 GB Notification: Performance of SimCode: time 1.272e-06/1.111, allocations: 0 / 0.8994 GB, free: 13.31 MB / 0.67 GB Notification: Performance of Templates: time 0.08369/1.194, allocations: 47.76 MB / 0.9461 GB, free: 14.2 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.362588027492166] Failed to read output from testmodel.py, exit status != 0: 1.2032105680555105 1.22092505 0.21062124100000001 Calling exit ...