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.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.001311/0.001311, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001596/0.001596, allocations: 204.2 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.005301/0.005301, allocations: 0.5825 MB / 313 MB, free: 2.305 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.89 kB / 435.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1082, allocations: 53.53 MB / 488.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4419/0.5501, allocations: 158.3 MB / 0.6318 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006222/0.5563, allocations: 2.976 MB / 0.6347 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006702/0.557, allocations: 35.69 kB / 0.6347 GB, free: 9.062 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.5581, allocations: 385.5 kB / 0.6351 GB, free: 8.684 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.5626, allocations: 1.664 MB / 0.6367 GB, free: 7.016 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.5655, allocations: 1.116 MB / 0.6378 GB, free: 5.906 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.5687, allocations: 2.415 MB / 0.6402 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.5696, allocations: 0.5182 MB / 0.6407 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.5717, allocations: 1.02 MB / 0.6417 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.5731, allocations: 0.7666 MB / 0.6424 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.5732, allocations: 80 kB / 0.6425 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.5754, allocations: 0.8447 MB / 0.6433 GB, free: 248 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.5758, allocations: 323.1 kB / 0.6436 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.5763, allocations: 422.2 kB / 0.644 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.579, allocations: 1.713 MB / 0.6457 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.579, allocations: 4 kB / 0.6457 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.579, allocations: 0 / 0.6457 GB, free: 13.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.579, allocations: 4 kB / 0.6457 GB, free: 13.79 MB / 494.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.002719/0.5817, allocations: 1.241 MB / 0.6469 GB, free: 12.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5818, allocations: 8.031 kB / 0.6469 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.582, allocations: 126.4 kB / 0.6471 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.583, allocations: 179.3 kB / 0.6472 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5842, allocations: 0.5246 MB / 0.6477 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.5845, allocations: 287.6 kB / 0.648 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.5846, allocations: 67.98 kB / 0.6481 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.5866, allocations: 1.491 MB / 0.6495 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.5867, allocations: 3.938 kB / 0.6495 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/0.5868, allocations: 39.98 kB / 0.6496 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.5868, allocations: 29.31 kB / 0.6496 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.5882, allocations: 0.7815 MB / 0.6504 GB, free: 8.695 MB / 494.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.006323/0.5946, allocations: 4.619 MB / 0.6549 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007806/0.5953, allocations: 373.7 kB / 0.6552 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.5957, allocations: 216.6 kB / 0.6554 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.5959, allocations: 27.98 kB / 0.6555 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.5959, allocations: 38.56 kB / 0.6555 GB, free: 3.242 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.425e-06/0.5959, allocations: 4 kB / 0.6555 GB, free: 3.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.007459/0.6034, allocations: 2.192 MB / 0.6576 GB, free: 1.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.6035, allocations: 107.3 kB / 0.6578 GB, free: 0.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.6045, allocations: 0.7108 MB / 0.6584 GB, free: 156 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.6045, allocations: 37.7 kB / 0.6585 GB, free: 112 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.605, allocations: 479.4 kB / 0.6589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.6052, allocations: 214.3 kB / 0.6591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.6056, allocations: 230.8 kB / 0.6594 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.6059, allocations: 386.8 kB / 0.6597 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.6064, allocations: 282.5 kB / 0.66 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.6075, allocations: 0.817 MB / 0.6608 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/0.6232, allocations: 3.035 MB / 0.6638 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/0.6233, allocations: 8 kB / 0.6638 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002429/0.6257, allocations: 1.264 MB / 0.665 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.6257, allocations: 16.06 kB / 0.665 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.6257, allocations: 16 kB / 0.665 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.6276, allocations: 461 kB / 0.6655 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.6282, allocations: 183.7 kB / 0.6657 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.6297, allocations: 1.12 MB / 0.6667 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.6304, allocations: 40.03 kB / 0.6668 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6305, allocations: 95.98 kB / 0.6669 GB, free: 6.984 MB / 0.4981 GB 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.000514/0.631, allocations: 293.3 kB / 0.6672 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.6312, allocations: 87.42 kB / 0.6672 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.6336, allocations: 1.196 MB / 0.6684 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.6337, allocations: 7.938 kB / 0.6684 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6337, allocations: 7.938 kB / 0.6684 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6337, allocations: 3.984 kB / 0.6684 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.6369, allocations: 1.586 MB / 0.67 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.6369, allocations: 3.938 kB / 0.67 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.6372, allocations: 99.83 kB / 0.6701 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.6387, allocations: 288.6 kB / 0.6703 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/0.6388, allocations: 31.97 kB / 0.6704 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.6399, allocations: 0.8411 MB / 0.6712 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6399, allocations: 3.938 kB / 0.6712 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.642, allocations: 1.126 MB / 0.6723 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/0.6425, allocations: 139.5 kB / 0.6724 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.6426, allocations: 16 kB / 0.6725 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.643, allocations: 19.98 kB / 0.6725 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.6431, allocations: 52.42 kB / 0.6725 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.6432, allocations: 59.97 kB / 0.6726 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006533/0.6439, allocations: 479 kB / 0.673 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6439, allocations: 0 / 0.673 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001204/0.6451, allocations: 351.5 kB / 0.6734 GB, free: 188 kB / 0.4981 GB 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.003329/0.6484, allocations: 1.95 MB / 0.6753 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.6501, allocations: 0.7488 MB / 0.676 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6501, allocations: 0 / 0.676 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008297/0.6509, allocations: 326.8 kB / 0.6763 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.6529, allocations: 411.5 kB / 0.6767 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.6644, allocations: 7.595 MB / 0.6841 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.6649, allocations: 405.4 kB / 0.6845 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00138/0.6663, allocations: 0.5602 MB / 0.6851 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.6669, allocations: 351.2 kB / 0.6854 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.6669, allocations: 0 / 0.6854 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2738/0.9407, allocations: 30.37 MB / 0.7151 GB, free: 196.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.87, allocations: 12.72 kB / 0.7151 GB, free: 196.6 MB / 0.5294 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.559135529212654] Failed to read output from testmodel.py, exit status != 0: 15.00897655915469 15.022094159 14.440453062 Calling exit ...