Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.001986/0.001986, allocations: 110.1 kB / 16.46 MB, free: 6.508 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.00225/0.00225, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.432/1.432, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.003572/0.003572, allocations: 0.5785 MB / 309.4 MB, free: 3.711 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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 67.89 kB / 430 MB, free: 18.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09322, allocations: 53.49 MB / 483.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001662/0.09489, allocations: 0.559 MB / 484.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.09509, allocations: 58.42 kB / 484.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.09512, allocations: 0 / 484.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.09514, allocations: 3.938 kB / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.09521, allocations: 3.938 kB / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.374e-05/0.0953, allocations: 15.97 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.09538, allocations: 47.83 kB / 484.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.09544, allocations: 11.97 kB / 484.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.09547, allocations: 23.92 kB / 484.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.09556, allocations: 27.84 kB / 484.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.09558, allocations: 4 kB / 484.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.09559, allocations: 11.94 kB / 484.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.09561, allocations: 7.984 kB / 484.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.09565, allocations: 31.8 kB / 484.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.066e-05/0.09573, allocations: 28.11 kB / 484.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09574, allocations: 0 / 484.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09574, allocations: 0 / 484.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09574, allocations: 0 / 484.3 MB, free: 12.15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005284/0.09627, allocations: 383.3 kB / 484.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.09631, allocations: 8.031 kB / 484.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.09635, allocations: 42.73 kB / 484.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.09638, allocations: 0.9375 kB / 484.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.09653, allocations: 172.3 kB / 484.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.09655, allocations: 4.375 kB / 484.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.09657, allocations: 12.31 kB / 484.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.0967, allocations: 70.17 kB / 485 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.09671, allocations: 7.875 kB / 485 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.09672, allocations: 3.984 kB / 485 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.09673, allocations: 8 kB / 485 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.09681, allocations: 35.98 kB / 485.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.09733, allocations: 313.2 kB / 485.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.09764, allocations: 118.6 kB / 485.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.0977, allocations: 40.84 kB / 485.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.09772, allocations: 4 kB / 485.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.09775, allocations: 30.56 kB / 485.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.09775, allocations: 0 / 485.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003503/0.1013, allocations: 0.9167 MB / 486.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1013, allocations: 63.3 kB / 486.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/0.1014, allocations: 105.8 kB / 486.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1014, allocations: 33.69 kB / 486.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.1015, allocations: 100.4 kB / 486.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.1015, allocations: 63.44 kB / 486.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.1016, allocations: 37.7 kB / 486.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1017, allocations: 322.8 kB / 487.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.1018, allocations: 39.98 kB / 487.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/0.1019, allocations: 67.94 kB / 487.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.1046, allocations: 0.5636 MB / 487.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1046, allocations: 0 / 487.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009406/0.1055, allocations: 274.1 kB / 488.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1055, allocations: 10.97 kB / 488.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1055, allocations: 0 / 488.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008962/0.1064, allocations: 164.6 kB / 488.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.1065, allocations: 20 kB / 488.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/0.1093, allocations: 1.979 MB / 490.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/0.1094, allocations: 0 / 490.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1094, allocations: 8 kB / 490.3 MB, free: 5.723 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: p1 = 1e5. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.1096, allocations: 121.9 kB / 490.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.1097, allocations: 15.97 kB / 490.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.1097, allocations: 16.84 kB / 490.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1097, allocations: 4 kB / 490.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1097, allocations: 0 / 490.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1097, allocations: 0 / 490.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.1111, allocations: 0.573 MB / 491 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1111, allocations: 0 / 491 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.1111, allocations: 12 kB / 491 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.113, allocations: 292.4 kB / 491.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.113, allocations: 8 kB / 491.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/0.1159, allocations: 1.98 MB / 493.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1159, allocations: 0 / 493.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.1171, allocations: 440.7 kB / 493.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1171, allocations: 85.06 kB / 493.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1172, allocations: 4 kB / 493.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1173, allocations: 7.938 kB / 493.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.1173, allocations: 19.95 kB / 493.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1173, allocations: 4 kB / 493.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.1174, allocations: 83.28 kB / 493.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1174, allocations: 4 kB / 493.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.1177, allocations: 36 kB / 494 MB, free: 1.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,T1,T2) * 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 (9): * Single equations (assignments): 8 * 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): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.1192, allocations: 0.9481 MB / 494.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.12, allocations: 305.6 kB / 495.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.12, allocations: 0 / 495.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.1206, allocations: 254.5 kB / 495.5 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.1209, allocations: 7.938 kB / 495.5 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.1243, allocations: 1.967 MB / 497.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1246, allocations: 0.7046 MB / 498.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.1247, allocations: 4.875 kB / 498.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.1247, allocations: 26.72 kB / 498.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1247, allocations: 8 kB / 498.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.1578, allocations: 3.155 MB / 0.4896 GB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.405/9.563, allocations: 4.062 kB / 0.4896 GB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial_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_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.145430878998013] Failed to read output from testmodel.py, exit status != 0: 9.6446659029898 9.663137192 9.564612975 Calling exit ...