Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.00139/0.00139, allocations: 120 kB / 17.17 MB, free: 5.977 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.001422/0.001422, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002749/0.002749, allocations: 0.5699 MB / 310.1 MB, free: 3.402 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.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 65.42 kB / 430.7 MB, free: 41.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1082, allocations: 53.47 MB / 484.2 MB, free: 18.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.5184/0.6265, allocations: 182.9 MB / 0.6514 GB, free: 9.414 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007071/0.6336, allocations: 3.162 MB / 0.6545 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.6349, allocations: 32.62 kB / 0.6546 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.6362, allocations: 411.7 kB / 0.6549 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.6413, allocations: 1.617 MB / 0.6565 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.6444, allocations: 1.098 MB / 0.6576 GB, free: 5.805 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003606/0.648, allocations: 2.425 MB / 0.66 GB, free: 4.535 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.6492, allocations: 0.538 MB / 0.6605 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.6519, allocations: 1.035 MB / 0.6615 GB, free: 3.699 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.6536, allocations: 0.7686 MB / 0.6623 GB, free: 3.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.6539, allocations: 78.31 kB / 0.6623 GB, free: 3.324 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.657, allocations: 1.062 MB / 0.6634 GB, free: 2.824 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006063/0.6576, allocations: 331.7 kB / 0.6637 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.6588, allocations: 492.5 kB / 0.6641 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.6634, allocations: 1.744 MB / 0.6659 GB, free: 1.324 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6634, allocations: 0 / 0.6659 GB, free: 1.324 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.6634, allocations: 0 / 0.6659 GB, free: 1.324 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.352e-05/0.6634, allocations: 0 / 0.6659 GB, free: 1.324 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.003985/0.6674, allocations: 1.324 MB / 0.6671 GB, free: 352 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.6675, allocations: 10.44 kB / 0.6672 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.593e-05/0.6675, allocations: 20.78 kB / 0.6672 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003269/0.6679, allocations: 125.1 kB / 0.6673 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.6692, allocations: 174.8 kB / 0.6675 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.6706, allocations: 0.5908 MB / 0.668 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.6709, allocations: 184 kB / 0.6682 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.671, allocations: 70.12 kB / 0.6683 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.673, allocations: 1.083 MB / 0.6693 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.673, allocations: 6.562 kB / 0.6693 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.6732, allocations: 34.84 kB / 0.6694 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.6732, allocations: 37.11 kB / 0.6694 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.6747, allocations: 0.7874 MB / 0.6702 GB, free: 14.3 MB / 478.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.0075/0.6822, allocations: 5.656 MB / 0.6757 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.683, allocations: 375.8 kB / 0.6761 GB, free: 8.734 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.6834, allocations: 212.6 kB / 0.6763 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/0.6838, allocations: 262 kB / 0.6765 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.6838, allocations: 42.56 kB / 0.6766 GB, free: 8.164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.6838, allocations: 0 / 0.6766 GB, free: 8.164 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.01137/0.6952, allocations: 3.004 MB / 0.6795 GB, free: 5.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6953, allocations: 111.4 kB / 0.6796 GB, free: 4.945 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.6966, allocations: 0.6837 MB / 0.6803 GB, free: 4.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.6967, allocations: 37.7 kB / 0.6803 GB, free: 4.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.6973, allocations: 475.4 kB / 0.6808 GB, free: 3.742 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.6975, allocations: 208.7 kB / 0.681 GB, free: 3.539 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004392/0.698, allocations: 238.8 kB / 0.6812 GB, free: 3.301 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000272/0.6982, allocations: 386.8 kB / 0.6815 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.6988, allocations: 278.5 kB / 0.6818 GB, free: 2.641 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009943/0.6998, allocations: 0.7669 MB / 0.6826 GB, free: 1.641 MB / 478.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/0.716, allocations: 3.317 MB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.716, allocations: 8 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002155/0.7181, allocations: 1.218 MB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.7182, allocations: 14.19 kB / 0.687 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.7182, allocations: 16 kB / 0.687 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009435/0.7191, allocations: 268.7 kB / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.7197, allocations: 211.7 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.7208, allocations: 0.9064 MB / 0.6884 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/0.7214, allocations: 43.94 kB / 0.6884 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7215, allocations: 96.03 kB / 0.6885 GB, free: 11.28 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: V1.medium.p = V1.p_start. 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 (113): * Single equations (assignments): 112 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004556/0.722, allocations: 294 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.7222, allocations: 79.53 kB / 0.6889 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/0.7245, allocations: 1.203 MB / 0.69 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.7246, allocations: 11.98 kB / 0.69 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7246, allocations: 3.938 kB / 0.6901 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7246, allocations: 0 / 0.6901 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.7277, allocations: 1.981 MB / 0.692 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7277, allocations: 8.156 kB / 0.692 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.7281, allocations: 95.89 kB / 0.6921 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.7295, allocations: 276.5 kB / 0.6923 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.7296, allocations: 27.98 kB / 0.6924 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.7306, allocations: 0.8424 MB / 0.6932 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7307, allocations: 4 kB / 0.6932 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.7327, allocations: 1.128 MB / 0.6943 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.7331, allocations: 216.6 kB / 0.6945 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.7332, allocations: 16 kB / 0.6945 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.7337, allocations: 19.98 kB / 0.6945 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.7338, allocations: 56.44 kB / 0.6946 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/0.7339, allocations: 63.92 kB / 0.6947 GB, free: 4.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006663/0.7345, allocations: 471 kB / 0.6951 GB, free: 4.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7345, allocations: 0 / 0.6951 GB, free: 4.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00134/0.7359, allocations: 355.5 kB / 0.6954 GB, free: 3.934 MB / 494.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.003329/0.7392, allocations: 1.941 MB / 0.6973 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.741, allocations: 0.7616 MB / 0.6981 GB, free: 1.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.741, allocations: 0 / 0.6981 GB, free: 1.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.7418, allocations: 323.9 kB / 0.6984 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.7438, allocations: 408.5 kB / 0.6988 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.7553, allocations: 7.516 MB / 0.7061 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.7559, allocations: 0.9868 MB / 0.7071 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00132/0.7572, allocations: 0.586 MB / 0.7077 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/0.7578, allocations: 343.3 kB / 0.708 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.7578, allocations: 0 / 0.708 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.8211, allocations: 29.03 MB / 0.7363 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.83, allocations: 8 kB / 0.7363 GB, free: 9.77 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.820613990013953] Failed to read output from testmodel.py, exit status != 0: 15.195600876992103 15.028678251 14.361057147 Calling exit ...