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.00127/0.00127, 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.001495/0.001495, allocations: 212.9 kB / 23.04 MB, free: 5.082 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.002888/0.002888, allocations: 0.5835 MB / 313.8 MB, free: 2.586 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.001997/0.001997, allocations: 63.91 kB / 436 MB, free: 17.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 53.53 MB / 489.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4765/0.5843, allocations: 183.1 MB / 0.6568 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006328/0.5906, allocations: 3.179 MB / 0.66 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008506/0.5914, allocations: 31.75 kB / 0.66 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.5926, allocations: 417.4 kB / 0.6604 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.597, allocations: 1.636 MB / 0.662 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.6, allocations: 1.123 MB / 0.6631 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003477/0.6035, allocations: 2.47 MB / 0.6655 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.6044, allocations: 0.5104 MB / 0.666 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.6067, allocations: 1.032 MB / 0.667 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.608, allocations: 0.7784 MB / 0.6678 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.6082, allocations: 80 kB / 0.6678 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.6108, allocations: 1.073 MB / 0.6689 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.6112, allocations: 338.9 kB / 0.6692 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007104/0.6119, allocations: 489.8 kB / 0.6697 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.6153, allocations: 1.741 MB / 0.6714 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6153, allocations: 8 kB / 0.6714 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6153, allocations: 0 / 0.6714 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.6153, allocations: 0 / 0.6714 GB, free: 6.266 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.002844/0.6182, allocations: 1.252 MB / 0.6726 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6182, allocations: 8.031 kB / 0.6726 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.008e-05/0.6183, allocations: 18 kB / 0.6726 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.6184, allocations: 122.5 kB / 0.6727 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.6195, allocations: 179.3 kB / 0.6729 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.6205, allocations: 0.5246 MB / 0.6734 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.6207, allocations: 283.6 kB / 0.6737 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.6208, allocations: 68 kB / 0.6738 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.6226, allocations: 1.086 MB / 0.6748 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.6226, allocations: 7.938 kB / 0.6748 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/0.6227, allocations: 28 kB / 0.6749 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.6227, allocations: 41.23 kB / 0.6749 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.6241, allocations: 0.7855 MB / 0.6757 GB, free: 1.652 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.006869/0.631, allocations: 5.609 MB / 0.6811 GB, free: 11.67 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.6318, allocations: 368.2 kB / 0.6815 GB, free: 11.3 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.6321, allocations: 222.2 kB / 0.6817 GB, free: 11.09 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.6323, allocations: 31.91 kB / 0.6817 GB, free: 11.05 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.6323, allocations: 46.55 kB / 0.6818 GB, free: 11 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.6323, allocations: 0 / 0.6818 GB, free: 11 MB / 0.5138 GB 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.01023/0.6426, allocations: 2.847 MB / 0.6846 GB, free: 8.102 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.6427, allocations: 107.3 kB / 0.6847 GB, free: 7.973 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.6435, allocations: 0.6876 MB / 0.6853 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.6436, allocations: 37.7 kB / 0.6854 GB, free: 7.23 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.644, allocations: 475.5 kB / 0.6858 GB, free: 6.758 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.6442, allocations: 214.2 kB / 0.686 GB, free: 6.547 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.6445, allocations: 230.8 kB / 0.6862 GB, free: 6.316 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002247/0.6447, allocations: 386.8 kB / 0.6866 GB, free: 5.93 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.6452, allocations: 286.2 kB / 0.6869 GB, free: 5.656 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009833/0.6462, allocations: 0.7668 MB / 0.6876 GB, free: 4.648 MB / 0.5138 GB 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.01606/0.6623, allocations: 3.225 MB / 0.6908 GB, free: 1.195 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6623, allocations: 4 kB / 0.6908 GB, free: 1.191 MB / 0.5138 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00214/0.6644, allocations: 1.213 MB / 0.692 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.6645, allocations: 12 kB / 0.692 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.6645, allocations: 19.94 kB / 0.692 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000919/0.6654, allocations: 277.2 kB / 0.6923 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.666, allocations: 207.7 kB / 0.6925 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.667, allocations: 0.9019 MB / 0.6933 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.6677, allocations: 43.97 kB / 0.6934 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.6678, allocations: 99.98 kB / 0.6935 GB, free: 14.39 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: 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.0004773/0.6683, allocations: 301 kB / 0.6938 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.6684, allocations: 83.48 kB / 0.6938 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.6708, allocations: 1.202 MB / 0.695 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.6708, allocations: 4 kB / 0.695 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6708, allocations: 0 / 0.695 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6708, allocations: 3.984 kB / 0.695 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.6739, allocations: 1.726 MB / 0.6967 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6739, allocations: 4 kB / 0.6967 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.6742, allocations: 91.89 kB / 0.6968 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.6757, allocations: 287.3 kB / 0.6971 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.6757, allocations: 27.98 kB / 0.6971 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.6768, allocations: 0.841 MB / 0.6979 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6768, allocations: 4 kB / 0.6979 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.679, allocations: 1.122 MB / 0.699 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.6794, allocations: 143.4 kB / 0.6992 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.6796, allocations: 23.92 kB / 0.6992 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.68, allocations: 16 kB / 0.6992 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.6801, allocations: 60.41 kB / 0.6993 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.672e-05/0.6802, allocations: 63.86 kB / 0.6993 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006566/0.6808, allocations: 475 kB / 0.6998 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6808, allocations: 0 / 0.6998 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001284/0.6821, allocations: 351.6 kB / 0.7001 GB, free: 7.449 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.003521/0.6856, allocations: 1.942 MB / 0.702 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.6874, allocations: 0.7579 MB / 0.7027 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6874, allocations: 0 / 0.7027 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008036/0.6882, allocations: 322.6 kB / 0.7031 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.6904, allocations: 423.8 kB / 0.7035 GB, free: 4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2208/0.9112, allocations: 7.503 MB / 0.7108 GB, free: 196 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.9117, allocations: 0.9862 MB / 0.7117 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001382/0.9131, allocations: 0.5856 MB / 0.7123 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.9136, allocations: 347.8 kB / 0.7127 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.9136, allocations: 0 / 0.7127 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/0.9721, allocations: 29.85 MB / 0.7418 GB, free: 179 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.61, allocations: 8 kB / 0.7418 GB, free: 179 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.616242701013107] Failed to read output from testmodel.py, exit status != 0: 15.810925503028557 15.829902747 15.210337409 Calling exit ...