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.001551/0.001551, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001434/0.001434, allocations: 220.6 kB / 23 MB, free: 4.918 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.846/0.846, allocations: 134 MB / 447.2 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.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.002204/0.002204, allocations: 67.17 kB / 0.6197 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1758, allocations: 85.9 MB / 0.7036 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4539/0.6297, allocations: 103.9 MB / 0.8051 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0334/0.6631, allocations: 18.92 MB / 0.8235 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004384/0.6675, allocations: 147.1 kB / 0.8237 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004337/0.6719, allocations: 1.282 MB / 0.8249 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.6841, allocations: 3.958 MB / 0.8288 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008675/0.6928, allocations: 3.151 MB / 0.8319 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01227/0.7051, allocations: 7.324 MB / 0.839 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0036/0.7087, allocations: 1.987 MB / 0.841 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007183/0.7159, allocations: 2.992 MB / 0.8439 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.7194, allocations: 2.135 MB / 0.846 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.7199, allocations: 256 kB / 0.8462 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.7235, allocations: 1.439 MB / 0.8476 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007435/0.7242, allocations: 0.7198 MB / 0.8483 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.7257, allocations: 1.209 MB / 0.8495 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.7324, allocations: 4.494 MB / 0.8539 GB, free: 14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7324, allocations: 0 / 0.8539 GB, free: 14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7324, allocations: 4 kB / 0.8539 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.821e-05/0.7324, allocations: 4 kB / 0.8539 GB, free: 13.99 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.005454/0.7379, allocations: 3.268 MB / 0.8571 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7379, allocations: 8.031 kB / 0.8571 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/0.7387, allocations: 341.9 kB / 0.8574 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004077/0.7427, allocations: 2.156 MB / 0.8595 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.7428, allocations: 127 kB / 0.8597 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.7431, allocations: 168 kB / 0.8598 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.7461, allocations: 1.925 MB / 0.8617 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.7462, allocations: 3.938 kB / 0.8617 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7463, allocations: 67.94 kB / 0.8618 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.7464, allocations: 43.94 kB / 0.8618 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.7485, allocations: 1.139 MB / 0.8629 GB, free: 4.484 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.009534/0.758, allocations: 5.498 MB / 0.8683 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.7588, allocations: 439.3 kB / 0.8687 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.7593, allocations: 298.8 kB / 0.869 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.7596, allocations: 80.44 kB / 0.8691 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.7597, allocations: 47.06 kB / 0.8691 GB, free: 14 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 4.709e-06/0.7597, allocations: 3.984 kB / 0.8691 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002103/0.7618, allocations: 0.9682 MB / 0.8701 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.7618, allocations: 59.84 kB / 0.8701 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/0.7647, allocations: 2.119 MB / 0.8722 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.7648, allocations: 49.7 kB / 0.8722 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.7659, allocations: 1.197 MB / 0.8734 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.7662, allocations: 222.1 kB / 0.8736 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.7665, allocations: 258.8 kB / 0.8739 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7667, allocations: 345.9 kB / 0.8742 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.7674, allocations: 365.8 kB / 0.8745 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.7687, allocations: 1.202 MB / 0.8757 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.7703, allocations: 0.9899 MB / 0.8767 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.7703, allocations: 4 kB / 0.8767 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00231/0.7726, allocations: 1.277 MB / 0.8779 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7726, allocations: 8 kB / 0.8779 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.7726, allocations: 8 kB / 0.8779 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.7727, allocations: 15.94 kB / 0.878 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.7737, allocations: 259.6 kB / 0.8782 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.7737, allocations: 15.94 kB / 0.8782 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.775, allocations: 147.3 kB / 0.8784 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/0.7751, allocations: 55.98 kB / 0.8784 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001337/0.7764, allocations: 0.7563 MB / 0.8792 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001339/0.7777, allocations: 1.187 MB / 0.8803 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001471/0.7792, allocations: 0.9563 MB / 0.8812 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.147e-06/0.7792, allocations: 7.984 kB / 0.8813 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002182/0.7814, allocations: 1.252 MB / 0.8825 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7814, allocations: 8 kB / 0.8825 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.7814, allocations: 8 kB / 0.8825 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7814, allocations: 16 kB / 0.8825 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.7824, allocations: 243.6 kB / 0.8827 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.7824, allocations: 23.92 kB / 0.8828 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.7837, allocations: 131.6 kB / 0.8829 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/0.7838, allocations: 47.98 kB / 0.8829 GB, free: 14.96 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.0003022/0.7841, allocations: 255.8 kB / 0.8832 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.7844, allocations: 226.5 kB / 0.8834 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.7861, allocations: 0.8621 MB / 0.8842 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.7861, allocations: 8 kB / 0.8842 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7861, allocations: 0 / 0.8842 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/0.7872, allocations: 0.6953 MB / 0.8849 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.7908, allocations: 2.193 MB / 0.8871 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.7908, allocations: 4 kB / 0.8871 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.7913, allocations: 123.8 kB / 0.8872 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.7913, allocations: 4 kB / 0.8872 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.7914, allocations: 19.98 kB / 0.8872 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.7914, allocations: 8 kB / 0.8872 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7914, allocations: 3.938 kB / 0.8872 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.7934, allocations: 1.32 MB / 0.8885 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/0.7941, allocations: 332.3 kB / 0.8888 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.7943, allocations: 12 kB / 0.8888 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008369/0.7952, allocations: 47.88 kB / 0.8889 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.7952, allocations: 48.34 kB / 0.8889 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.7953, allocations: 35.98 kB / 0.889 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001983/0.7973, allocations: 1.395 MB / 0.8903 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7973, allocations: 0 / 0.8903 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002507/0.7998, allocations: 1.177 MB / 0.8915 GB, free: 6.086 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.002037/0.8018, allocations: 0.7492 MB / 0.8922 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002333/0.8042, allocations: 1.285 MB / 0.8935 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8042, allocations: 0 / 0.8935 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.8047, allocations: 308.1 kB / 0.8938 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/0.8092, allocations: 1.174 MB / 0.8949 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.8149, allocations: 3.791 MB / 0.8986 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.8161, allocations: 1.019 MB / 0.8996 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.8166, allocations: 171.4 kB / 0.8998 GB, free: 13.73 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.8166, allocations: 0 / 0.8998 GB, free: 13.73 MB / 0.67 GB Notification: Performance of Templates: time 0.05723/0.8738, allocations: 38.44 MB / 0.9373 GB, free: 7.496 MB / 0.7012 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: 15.07133592478931] Failed to read output from testmodel.py, exit status != 0: 0.8818179629743099 0.897194645 0.161532202 Calling exit ...