Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.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.001702/0.001702, allocations: 100.9 kB / 16.45 MB, free: 6.449 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.001991/0.001991, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.00331/0.00331, allocations: 0.5649 MB / 309.4 MB, free: 3.672 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.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.91 kB / 430 MB, free: 18.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09421, allocations: 53.49 MB / 483.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001624/0.09583, allocations: 0.5814 MB / 484.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001964/0.09603, allocations: 47.86 kB / 484.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.09606, allocations: 0 / 484.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.09608, allocations: 7.938 kB / 484.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.09616, allocations: 3.938 kB / 484.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.951e-05/0.09626, allocations: 19.89 kB / 484.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.09635, allocations: 47.84 kB / 484.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.0964, allocations: 416 / 484.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.09643, allocations: 27.86 kB / 484.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.0965, allocations: 35.84 kB / 484.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.09652, allocations: 0 / 484.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.09653, allocations: 4 kB / 484.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.09656, allocations: 11.98 kB / 484.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.0966, allocations: 31.78 kB / 484.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.024e-05/0.09668, allocations: 28.11 kB / 484.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.09668, allocations: 0 / 484.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09668, allocations: 0 / 484.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.09668, allocations: 4 kB / 484.3 MB, free: 12.21 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.0005537/0.09724, allocations: 379.3 kB / 484.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.09728, allocations: 12.03 kB / 484.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.09732, allocations: 30.75 kB / 484.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.09735, allocations: 8.938 kB / 484.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.09751, allocations: 180.2 kB / 484.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.09752, allocations: 4.375 kB / 484.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.09754, allocations: 12.38 kB / 485 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.09768, allocations: 69.98 kB / 485 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.09769, allocations: 7.938 kB / 485 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.0977, allocations: 3.938 kB / 485 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.09771, allocations: 0 / 485 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.849e-05/0.09779, allocations: 43.97 kB / 485.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.09829, allocations: 312.7 kB / 485.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.09858, allocations: 122.7 kB / 485.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/0.09865, allocations: 40.78 kB / 485.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.09866, allocations: 3.984 kB / 485.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.09869, allocations: 34.56 kB / 485.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.09869, allocations: 0 / 485.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003556/0.1022, allocations: 0.9244 MB / 486.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1023, allocations: 55.31 kB / 486.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.1024, allocations: 117.8 kB / 486.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1024, allocations: 29.7 kB / 486.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1025, allocations: 84.47 kB / 486.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.1025, allocations: 67.42 kB / 486.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.1026, allocations: 37.7 kB / 486.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1027, allocations: 318.8 kB / 487.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.1028, allocations: 43.97 kB / 487.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.1029, allocations: 64.14 kB / 487.3 MB, free: 8.969 MB / 350.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.1057, allocations: 0.5628 MB / 487.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1057, allocations: 0 / 487.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009518/0.1066, allocations: 282 kB / 488.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1067, allocations: 4 kB / 488.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1067, allocations: 0 / 488.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009377/0.1076, allocations: 164.7 kB / 488.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.1077, allocations: 19.98 kB / 488.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.1106, allocations: 1.975 MB / 490.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.1107, allocations: 4 kB / 490.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1107, allocations: 16.06 kB / 490.3 MB, free: 5.773 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.0001355/0.1108, allocations: 117.8 kB / 490.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.1109, allocations: 7.953 kB / 490.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.1109, allocations: 16.84 kB / 490.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1109, allocations: 4 kB / 490.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.111, allocations: 4.031 kB / 490.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.111, allocations: 0 / 490.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.1124, allocations: 0.5733 MB / 491 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1124, allocations: 4.031 kB / 491 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.1124, allocations: 8 kB / 491 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/0.1144, allocations: 288.6 kB / 491.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1144, allocations: 3.984 kB / 491.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.1172, allocations: 1.991 MB / 493.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1172, allocations: 0 / 493.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1184, allocations: 427.7 kB / 493.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1184, allocations: 89.09 kB / 493.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1184, allocations: 11.94 kB / 493.8 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1186, allocations: 0 / 493.8 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1186, allocations: 27.86 kB / 493.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1186, allocations: 7.984 kB / 493.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.377e-05/0.1187, allocations: 83.28 kB / 494 MB, free: 1.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1187, allocations: 0 / 494 MB, free: 1.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000368/0.1191, allocations: 36 kB / 494 MB, free: 1.848 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.001431/0.1205, allocations: 0.951 MB / 494.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008325/0.1213, allocations: 298.4 kB / 495.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1213, allocations: 0 / 495.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.1219, allocations: 246.6 kB / 495.5 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.1221, allocations: 11.94 kB / 495.5 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.1255, allocations: 1.966 MB / 497.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1258, allocations: 0.7085 MB / 498.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.1259, allocations: 12.88 kB / 498.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.1259, allocations: 23.44 kB / 498.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1259, allocations: 0 / 498.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.1644, allocations: 3.176 MB / 0.4896 GB, free: 10.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.655/9.819, allocations: 7.203 kB / 0.4896 GB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent_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_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.344548667999334] Failed to read output from testmodel.py, exit status != 0: 9.901396119006677 9.926517049 9.825572013 Calling exit ...