Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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.001349/0.001349, allocations: 111.7 kB / 17.08 MB, free: 6.012 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.001289/0.00129, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.1534/0.1534, allocations: 0.557 MB / 298.5 MB, free: 4.703 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.83 kB / 411.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2756, allocations: 49.59 MB / 461.4 MB, free: 23.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4922/0.7679, allocations: 179.3 MB / 0.6257 GB, free: 16.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006073/0.774, allocations: 3.176 MB / 0.6288 GB, free: 16.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.7752, allocations: 22.47 kB / 0.6288 GB, free: 16.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.7768, allocations: 405.2 kB / 0.6292 GB, free: 16.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.7829, allocations: 1.58 MB / 0.6308 GB, free: 16.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.7868, allocations: 1.109 MB / 0.6319 GB, free: 16.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00477/0.7916, allocations: 2.398 MB / 0.6342 GB, free: 16.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.7932, allocations: 0.5948 MB / 0.6348 GB, free: 16.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.7964, allocations: 0.9912 MB / 0.6357 GB, free: 16.72 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.7982, allocations: 0.7381 MB / 0.6365 GB, free: 16.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.7985, allocations: 82.81 kB / 0.6365 GB, free: 16.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.8013, allocations: 1.024 MB / 0.6375 GB, free: 16.6 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.8019, allocations: 321.3 kB / 0.6379 GB, free: 16.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.8029, allocations: 491.8 kB / 0.6383 GB, free: 16.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.8066, allocations: 1.733 MB / 0.64 GB, free: 16.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.8067, allocations: 1.094 kB / 0.64 GB, free: 16.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.8067, allocations: 0 / 0.64 GB, free: 16.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.8067, allocations: 0 / 0.64 GB, free: 16.25 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003611/0.8103, allocations: 1.328 MB / 0.6413 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.8104, allocations: 20.86 kB / 0.6413 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.8116, allocations: 178.2 kB / 0.6415 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.8128, allocations: 0.5905 MB / 0.6421 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.813, allocations: 180.2 kB / 0.6422 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.8132, allocations: 75.28 kB / 0.6423 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.8149, allocations: 1.085 MB / 0.6434 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.8149, allocations: 3.969 kB / 0.6434 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.8151, allocations: 38.16 kB / 0.6434 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/0.8151, allocations: 34.95 kB / 0.6435 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.8164, allocations: 0.7908 MB / 0.6442 GB, free: 14.64 MB / 462.1 MB 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.007268/0.8237, allocations: 5.709 MB / 0.6498 GB, free: 9.867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.8245, allocations: 384.6 kB / 0.6502 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.8249, allocations: 234.2 kB / 0.6504 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.8252, allocations: 262.1 kB / 0.6506 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.8253, allocations: 39.66 kB / 0.6507 GB, free: 9.223 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.8253, allocations: 0 / 0.6507 GB, free: 9.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=55): time 0.007493/0.8328, allocations: 2.268 MB / 0.6529 GB, free: 7.906 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.8329, allocations: 109.1 kB / 0.653 GB, free: 7.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/0.8339, allocations: 0.6844 MB / 0.6537 GB, free: 7.379 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.834, allocations: 38.7 kB / 0.6537 GB, free: 7.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.8344, allocations: 472 kB / 0.6542 GB, free: 6.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.8346, allocations: 218.9 kB / 0.6544 GB, free: 6.746 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.835, allocations: 230.7 kB / 0.6546 GB, free: 6.625 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.8352, allocations: 385.1 kB / 0.655 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.8357, allocations: 279.3 kB / 0.6552 GB, free: 6.129 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/0.8367, allocations: 0.7715 MB / 0.656 GB, free: 5.328 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/0.8524, allocations: 3.1 MB / 0.659 GB, free: 3.477 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-05/0.8525, allocations: 9.156 kB / 0.659 GB, free: 3.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002629/0.8551, allocations: 1.281 MB / 0.6603 GB, free: 2.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.8552, allocations: 12 kB / 0.6603 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.8552, allocations: 19.98 kB / 0.6603 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/0.8571, allocations: 459.6 kB / 0.6607 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.8578, allocations: 183.7 kB / 0.6609 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.8594, allocations: 1.125 MB / 0.662 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.8602, allocations: 36 kB / 0.662 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.8604, allocations: 100 kB / 0.6621 GB, free: 0.543 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.V2.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006045/0.861, allocations: 297.2 kB / 0.6624 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.8613, allocations: 83.48 kB / 0.6625 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.8639, allocations: 1.214 MB / 0.6637 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.864, allocations: 4 kB / 0.6637 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.864, allocations: 3.938 kB / 0.6637 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.864, allocations: 7.984 kB / 0.6637 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/0.8676, allocations: 1.986 MB / 0.6656 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.8676, allocations: 0 / 0.6656 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.868, allocations: 91.05 kB / 0.6657 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.8695, allocations: 280.6 kB / 0.666 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.8695, allocations: 35.98 kB / 0.666 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.8706, allocations: 0.8364 MB / 0.6668 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.8707, allocations: 4 kB / 0.6668 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.8729, allocations: 1.141 MB / 0.668 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.8734, allocations: 216.6 kB / 0.6682 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.8736, allocations: 19.94 kB / 0.6682 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.8741, allocations: 23.98 kB / 0.6682 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.8742, allocations: 51.69 kB / 0.6683 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.8743, allocations: 67.97 kB / 0.6683 GB, free: 10.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007254/0.8751, allocations: 471 kB / 0.6688 GB, free: 9.578 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8751, allocations: 0 / 0.6688 GB, free: 9.578 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00151/0.8766, allocations: 347.6 kB / 0.6691 GB, free: 9.238 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.878, allocations: 400.7 kB / 0.6695 GB, free: 8.867 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.8799, allocations: 0.7921 MB / 0.6703 GB, free: 8.129 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8799, allocations: 0 / 0.6703 GB, free: 8.129 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.8808, allocations: 339.9 kB / 0.6706 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.8828, allocations: 415.1 kB / 0.671 GB, free: 7.414 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.8859, allocations: 1.658 MB / 0.6726 GB, free: 5.723 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.8867, allocations: 0.979 MB / 0.6735 GB, free: 4.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.8871, allocations: 159.3 kB / 0.6737 GB, free: 4.562 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.8872, allocations: 0 / 0.6737 GB, free: 4.562 MB / 478.1 MB Notification: Performance of Templates: time 0.03088/0.918, allocations: 18.44 MB / 0.6917 GB, free: 2.234 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.71662165701855] Failed to read output from testmodel.py, exit status != 0: 0.9258467350155115 0.939839895 0.13041874 Calling exit ...