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.001291/0.001291, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001447/0.001447, allocations: 221.7 kB / 22.26 MB, free: 5.125 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.98 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.002912/0.002912, allocations: 0.5796 MB / 313 MB, free: 2.516 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 72.06 kB / 435.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09608, allocations: 53.52 MB / 488.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4839/0.58, allocations: 183.1 MB / 0.6561 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006007/0.586, allocations: 3.179 MB / 0.6592 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007707/0.5868, allocations: 27.75 kB / 0.6592 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.5879, allocations: 417.4 kB / 0.6596 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.5925, allocations: 1.644 MB / 0.6612 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.5955, allocations: 1.124 MB / 0.6623 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003449/0.5989, allocations: 2.458 MB / 0.6647 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.5998, allocations: 0.5182 MB / 0.6652 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.6019, allocations: 1.036 MB / 0.6662 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.6031, allocations: 0.7784 MB / 0.667 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.6032, allocations: 76 kB / 0.6671 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.6057, allocations: 1.08 MB / 0.6681 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.606, allocations: 327 kB / 0.6684 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005732/0.6066, allocations: 497.8 kB / 0.6689 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.6092, allocations: 1.741 MB / 0.6706 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6092, allocations: 4 kB / 0.6706 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6093, allocations: 0 / 0.6706 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.6093, allocations: 0 / 0.6706 GB, free: 6.184 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.002695/0.612, allocations: 1.248 MB / 0.6718 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.612, allocations: 8.031 kB / 0.6718 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.6122, allocations: 126.5 kB / 0.672 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.6132, allocations: 175.3 kB / 0.6721 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.6142, allocations: 0.5246 MB / 0.6726 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.6145, allocations: 291.6 kB / 0.6729 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.6146, allocations: 64 kB / 0.673 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.6163, allocations: 1.078 MB / 0.674 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.6163, allocations: 7.938 kB / 0.674 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.6164, allocations: 39.98 kB / 0.6741 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.6165, allocations: 33.31 kB / 0.6741 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.6178, allocations: 0.7854 MB / 0.6749 GB, free: 1.59 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.006527/0.6243, allocations: 5.61 MB / 0.6803 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.625, allocations: 374.3 kB / 0.6807 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.6254, allocations: 218.8 kB / 0.6809 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.6256, allocations: 31.95 kB / 0.6809 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.6256, allocations: 42.56 kB / 0.681 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.6256, allocations: 0 / 0.681 GB, free: 10.94 MB / 0.5137 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.01/0.6356, allocations: 2.854 MB / 0.6838 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.6357, allocations: 115.3 kB / 0.6839 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009192/0.6366, allocations: 0.6838 MB / 0.6846 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.6367, allocations: 37.7 kB / 0.6846 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.6371, allocations: 471.5 kB / 0.685 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.6373, allocations: 214.2 kB / 0.6852 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.6375, allocations: 230.8 kB / 0.6855 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.6378, allocations: 386.8 kB / 0.6858 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.6382, allocations: 282.5 kB / 0.6861 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008863/0.6391, allocations: 0.7707 MB / 0.6869 GB, free: 4.586 MB / 0.5137 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.01563/0.6547, allocations: 3.233 MB / 0.69 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.6548, allocations: 4 kB / 0.69 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002131/0.6569, allocations: 1.217 MB / 0.6912 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.6569, allocations: 12 kB / 0.6912 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.6569, allocations: 20 kB / 0.6912 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009053/0.6578, allocations: 269 kB / 0.6915 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.6584, allocations: 207.7 kB / 0.6917 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.6595, allocations: 0.9064 MB / 0.6926 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.6601, allocations: 43.94 kB / 0.6926 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.6602, allocations: 95.98 kB / 0.6927 GB, free: 14.33 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.0004658/0.6607, allocations: 289.3 kB / 0.693 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.6609, allocations: 83.48 kB / 0.6931 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.6631, allocations: 1.194 MB / 0.6942 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.6631, allocations: 7.938 kB / 0.6942 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6631, allocations: 0 / 0.6942 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6631, allocations: 7.984 kB / 0.6942 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.6663, allocations: 1.73 MB / 0.6959 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6663, allocations: 4 kB / 0.6959 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.6666, allocations: 87.91 kB / 0.696 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.6681, allocations: 284.6 kB / 0.6963 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.6681, allocations: 27.98 kB / 0.6963 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.6691, allocations: 0.8441 MB / 0.6971 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6692, allocations: 4 kB / 0.6971 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.6712, allocations: 1.13 MB / 0.6982 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.6716, allocations: 143.4 kB / 0.6984 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6717, allocations: 12 kB / 0.6984 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.6721, allocations: 23.98 kB / 0.6984 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.6722, allocations: 56.36 kB / 0.6985 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/0.6723, allocations: 59.98 kB / 0.6985 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006111/0.6729, allocations: 478.9 kB / 0.699 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6729, allocations: 0 / 0.699 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001191/0.6741, allocations: 351.6 kB / 0.6993 GB, free: 7.391 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.0031/0.6772, allocations: 1.943 MB / 0.7012 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.679, allocations: 0.7579 MB / 0.702 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.679, allocations: 4 kB / 0.702 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.6797, allocations: 322.6 kB / 0.7023 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.6815, allocations: 416.7 kB / 0.7027 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2163/0.8978, allocations: 7.514 MB / 0.71 GB, free: 196 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.8983, allocations: 0.9889 MB / 0.711 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001369/0.8996, allocations: 0.5765 MB / 0.7115 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.9002, allocations: 344.1 kB / 0.7119 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.9002, allocations: 0 / 0.7119 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06153/0.9617, allocations: 29.82 MB / 0.741 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.36, allocations: 15.98 kB / 0.741 GB, free: 178.9 MB / 0.5294 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.93910254900038] Failed to read output from testmodel.py, exit status != 0: 14.489159071999893 14.498582048 13.887158283 Calling exit ...