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.001688/0.001688, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00228/0.00228, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.00337/0.00337, allocations: 0.5762 MB / 313.8 MB, free: 2.504 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 59.91 kB / 436 MB, free: 17.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1094, allocations: 53.52 MB / 489.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4625/0.5719, allocations: 183.1 MB / 0.6569 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008307/0.5802, allocations: 3.167 MB / 0.6599 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.5816, allocations: 35.69 kB / 0.66 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.5835, allocations: 409.5 kB / 0.6604 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.5889, allocations: 1.653 MB / 0.662 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.5923, allocations: 1.123 MB / 0.6631 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003635/0.5959, allocations: 2.423 MB / 0.6654 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.597, allocations: 0.5159 MB / 0.666 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.5996, allocations: 1.028 MB / 0.667 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.6013, allocations: 0.7784 MB / 0.6677 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000395/0.6017, allocations: 76 kB / 0.6678 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.6045, allocations: 1.082 MB / 0.6688 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005386/0.6051, allocations: 330.9 kB / 0.6692 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008589/0.6059, allocations: 489.8 kB / 0.6696 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.6093, allocations: 1.741 MB / 0.6713 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6093, allocations: 0 / 0.6713 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6093, allocations: 0 / 0.6713 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.333e-05/0.6093, allocations: 0 / 0.6713 GB, free: 6.211 MB / 0.4981 GB 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.002926/0.6123, allocations: 1.252 MB / 0.6725 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6123, allocations: 12.02 kB / 0.6726 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.847e-05/0.6123, allocations: 22 kB / 0.6726 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.6125, allocations: 126.5 kB / 0.6727 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6136, allocations: 176.7 kB / 0.6729 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6147, allocations: 0.5207 MB / 0.6734 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.615, allocations: 291.6 kB / 0.6737 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.6151, allocations: 67.94 kB / 0.6737 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.617, allocations: 1.09 MB / 0.6748 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.617, allocations: 0 / 0.6748 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.6171, allocations: 32 kB / 0.6748 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.6171, allocations: 41.19 kB / 0.6749 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.6186, allocations: 0.7777 MB / 0.6756 GB, free: 1.594 MB / 0.4981 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.006788/0.6254, allocations: 5.605 MB / 0.6811 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.6261, allocations: 366.4 kB / 0.6814 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.6265, allocations: 216.6 kB / 0.6816 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.6267, allocations: 31.95 kB / 0.6817 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.6267, allocations: 42.56 kB / 0.6817 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.895e-06/0.6267, allocations: 0 / 0.6817 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55): time 0.007385/0.6341, allocations: 2.186 MB / 0.6839 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.6342, allocations: 111.3 kB / 0.684 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008742/0.635, allocations: 0.6837 MB / 0.6846 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.6351, allocations: 37.7 kB / 0.6847 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.6355, allocations: 475.5 kB / 0.6851 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.6357, allocations: 210.2 kB / 0.6853 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.636, allocations: 238.8 kB / 0.6855 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.6362, allocations: 390.8 kB / 0.6859 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.6367, allocations: 282.5 kB / 0.6862 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009259/0.6377, allocations: 0.7629 MB / 0.6869 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/0.6532, allocations: 3.027 MB / 0.6899 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.6532, allocations: 4 kB / 0.6899 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002488/0.6557, allocations: 1.267 MB / 0.6911 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.6557, allocations: 12 kB / 0.6911 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.6558, allocations: 16 kB / 0.6912 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.6577, allocations: 466.3 kB / 0.6916 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.6583, allocations: 192.8 kB / 0.6918 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.6598, allocations: 1.112 MB / 0.6929 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/0.6606, allocations: 36 kB / 0.6929 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.6607, allocations: 104 kB / 0.693 GB, free: 14.79 MB / 0.5294 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.0005565/0.6613, allocations: 293.3 kB / 0.6933 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.6615, allocations: 79.53 kB / 0.6934 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.664, allocations: 1.2 MB / 0.6945 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.664, allocations: 7.938 kB / 0.6945 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.664, allocations: 3.938 kB / 0.6945 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.664, allocations: 4 kB / 0.6945 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.6674, allocations: 1.722 MB / 0.6962 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.6674, allocations: 4 kB / 0.6962 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.6677, allocations: 91.89 kB / 0.6963 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.6692, allocations: 291.6 kB / 0.6966 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.6693, allocations: 27.98 kB / 0.6966 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.6703, allocations: 0.8488 MB / 0.6975 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6703, allocations: 0 / 0.6975 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.6725, allocations: 1.126 MB / 0.6986 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.6729, allocations: 143.5 kB / 0.6987 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.6731, allocations: 12 kB / 0.6987 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.6736, allocations: 19.98 kB / 0.6987 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.6737, allocations: 56.36 kB / 0.6988 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.6738, allocations: 63.97 kB / 0.6988 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007035/0.6745, allocations: 475 kB / 0.6993 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6745, allocations: 0 / 0.6993 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001244/0.6757, allocations: 351.5 kB / 0.6996 GB, free: 7.848 MB / 0.5294 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.003538/0.6793, allocations: 1.942 MB / 0.7015 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.6811, allocations: 0.7528 MB / 0.7023 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.6811, allocations: 8 kB / 0.7023 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008678/0.6819, allocations: 318.6 kB / 0.7026 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.6841, allocations: 420 kB / 0.703 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2285/0.9126, allocations: 7.594 MB / 0.7104 GB, free: 196 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.9131, allocations: 0.9848 MB / 0.7113 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001563/0.9147, allocations: 0.5589 MB / 0.7119 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.9153, allocations: 344.5 kB / 0.7122 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.9153, allocations: 0 / 0.7122 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.974, allocations: 30.65 MB / 0.7421 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.65, allocations: 19.97 kB / 0.7422 GB, free: 178.3 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.541333641973324] Failed to read output from testmodel.py, exit status != 0: 15.843320616986603 15.856653265 15.24467899 Calling exit ...