Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.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.001348/0.001348, allocations: 104.3 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.001364/0.001364, 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.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.002911/0.002911, allocations: 0.5644 MB / 309.4 MB, free: 3.676 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.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.91 kB / 430 MB, free: 18.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08825/0.09013, allocations: 53.48 MB / 483.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.001802/0.09193, allocations: 0.5811 MB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.09214, allocations: 46.48 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.09217, allocations: 4 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.09219, allocations: 3.938 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.09226, allocations: 7.938 kB / 484.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.237e-05/0.09235, allocations: 19.89 kB / 484.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.09244, allocations: 51.84 kB / 484.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.09248, allocations: 0 / 484.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.09252, allocations: 23.92 kB / 484.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.09259, allocations: 27.84 kB / 484.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.09261, allocations: 4 kB / 484.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.142e-05/0.09263, allocations: 4 kB / 484.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.09265, allocations: 11.97 kB / 484.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.09269, allocations: 31.8 kB / 484.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.905e-05/0.09278, allocations: 40.09 kB / 484.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09278, allocations: 0 / 484.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09278, allocations: 0 / 484.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.09279, allocations: 0 / 484.3 MB, free: 12.12 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.0005365/0.09333, allocations: 371.3 kB / 484.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.09337, allocations: 12.03 kB / 484.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.09341, allocations: 34.75 kB / 484.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.09344, allocations: 4.938 kB / 484.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.09359, allocations: 184.2 kB / 484.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.0936, allocations: 4.375 kB / 484.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.09362, allocations: 8.375 kB / 484.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.09376, allocations: 66.23 kB / 485 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.09376, allocations: 3.938 kB / 485 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.09378, allocations: 7.938 kB / 485 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.09378, allocations: 0 / 485 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.09386, allocations: 39.97 kB / 485.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.09436, allocations: 317.1 kB / 485.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.09462, allocations: 94.55 kB / 485.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.09468, allocations: 32.84 kB / 485.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.09469, allocations: 0 / 485.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.09471, allocations: 30.56 kB / 485.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.09471, allocations: 0 / 485.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002587/0.0973, allocations: 0.7559 MB / 486.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.09733, allocations: 55.41 kB / 486.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.09743, allocations: 113.8 kB / 486.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.09745, allocations: 29.7 kB / 486.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.0975, allocations: 88.14 kB / 486.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.09755, allocations: 63.47 kB / 486.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.09762, allocations: 29.72 kB / 486.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.09776, allocations: 326.8 kB / 487 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.09783, allocations: 39.98 kB / 487 MB, free: 9.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.09792, allocations: 64.78 kB / 487.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.0981, allocations: 109.7 kB / 487.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.0981, allocations: 0 / 487.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001503/0.0996, allocations: 346 kB / 487.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.09962, allocations: 7.438 kB / 487.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.09962, allocations: 3.938 kB / 487.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.1013, allocations: 284.6 kB / 487.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.1014, allocations: 8 kB / 487.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/0.1054, allocations: 2.324 MB / 490.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.1054, allocations: 8.031 kB / 490.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1055, allocations: 4 kB / 490.1 MB, free: 5.875 MB / 350.1 MB 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 (7): * Single equations (assignments): 6 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.1056, allocations: 119.2 kB / 490.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1056, allocations: 15.83 kB / 490.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.1056, allocations: 20.5 kB / 490.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1056, allocations: 4 kB / 490.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1056, allocations: 0 / 490.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1056, allocations: 0 / 490.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.1059, allocations: 205.6 kB / 490.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1059, allocations: 3.938 kB / 490.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.1059, allocations: 8 kB / 490.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.1078, allocations: 280.5 kB / 490.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1078, allocations: 0 / 490.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.1102, allocations: 1.944 MB / 492.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1102, allocations: 4 kB / 492.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1112, allocations: 404.2 kB / 493.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.1113, allocations: 85.14 kB / 493.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.1113, allocations: 7.938 kB / 493.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1114, allocations: 4 kB / 493.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.1114, allocations: 11.92 kB / 493.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.1115, allocations: 11.98 kB / 493.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.217e-05/0.1115, allocations: 87.28 kB / 493.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1115, allocations: 0 / 493.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.1119, allocations: 36 kB / 493.4 MB, free: 2.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,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 (8): * Single equations (assignments): 7 * 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 {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001412/0.1133, allocations: 0.9303 MB / 494.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006684/0.1139, allocations: 294.5 kB / 494.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1139, allocations: 0 / 494.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.1143, allocations: 222.5 kB / 494.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1145, allocations: 15.92 kB / 494.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.1188, allocations: 2.052 MB / 496.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1191, allocations: 0.7046 MB / 497.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.217e-05/0.1191, allocations: 4.5 kB / 497.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.1192, allocations: 27.42 kB / 497.6 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1192, allocations: 0 / 497.6 MB, free: 14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.1491, allocations: 3.973 MB / 0.4898 GB, free: 10.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.82, allocations: 10.11 kB / 0.4898 GB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_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_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.260783909994643] Failed to read output from testmodel.py, exit status != 0: 11.91332882399729 11.926903959 11.831527194 Calling exit ...