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.0008435/0.0008435, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001084/0.001084, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9632/0.9632, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.002107/0.002107, allocations: 419.6 kB / 259.6 MB, free: 12.84 MB / 250.7 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 3.837e-06/3.837e-06, allocations: 0 / 381.8 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.294e-05, allocations: 6.219 kB / 381.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002048/0.002081, allocations: 0.5734 MB / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000351/0.002432, allocations: 39.81 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.002487, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.002515, allocations: 3.938 kB / 382.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.00263, allocations: 7.922 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.002776, allocations: 23.91 kB / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.002885, allocations: 43.89 kB / 382.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.002954, allocations: 7.984 kB / 382.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.859e-05/0.003033, allocations: 27.92 kB / 382.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.605e-05/0.003129, allocations: 27.88 kB / 382.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.003166, allocations: 4 kB / 382.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.003181, allocations: 4 kB / 382.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.003208, allocations: 7.984 kB / 382.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.003246, allocations: 15.94 kB / 382.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003378, allocations: 39.8 kB / 382.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00338, allocations: 4 kB / 382.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.003382, allocations: 0 / 382.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.003388, allocations: 0 / 382.6 MB, free: 15.28 MB / 362.7 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.0006623/0.004051, allocations: 298.2 kB / 382.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.004106, allocations: 8.031 kB / 382.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.004155, allocations: 34.75 kB / 383 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.004193, allocations: 8.891 kB / 383 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.004409, allocations: 113.7 kB / 383.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.004426, allocations: 16.3 kB / 383.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.004453, allocations: 8.375 kB / 383.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.004585, allocations: 70.23 kB / 383.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.004594, allocations: 192 / 383.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.004606, allocations: 4.375 kB / 383.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004612, allocations: 4.125 kB / 383.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.004686, allocations: 37.11 kB / 383.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.005251, allocations: 275.9 kB / 383.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.005479, allocations: 114.7 kB / 383.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.005528, allocations: 44.84 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.005541, allocations: 0 / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.005563, allocations: 38.5 kB / 383.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 8.41e-07/0.005564, allocations: 0 / 383.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002028/0.007592, allocations: 0.8467 MB / 384.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.007628, allocations: 55.41 kB / 384.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.00771, allocations: 109.8 kB / 384.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.007728, allocations: 29.7 kB / 384.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.007787, allocations: 92.45 kB / 384.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.007823, allocations: 67.38 kB / 384.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.007872, allocations: 37.7 kB / 384.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.007971, allocations: 318.8 kB / 385.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.008026, allocations: 51.91 kB / 385.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.008099, allocations: 68.69 kB / 385.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.009354, allocations: 493.1 kB / 385.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009357, allocations: 3.938 kB / 385.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004807/0.009838, allocations: 279.5 kB / 386.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.009853, allocations: 4 kB / 386.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.009859, allocations: 0 / 386.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.01032, allocations: 164.7 kB / 386.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.01037, allocations: 19.98 kB / 386.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.012, allocations: 1.86 MB / 388.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.01205, allocations: 4 kB / 388.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.01205, allocations: 8 kB / 388.1 MB, free: 9.395 MB / 362.7 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.0001552/0.01221, allocations: 122.1 kB / 388.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.01223, allocations: 11.89 kB / 388.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.01225, allocations: 24.72 kB / 388.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01226, allocations: 0 / 388.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.01226, allocations: 4 kB / 388.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01226, allocations: 0 / 388.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.01297, allocations: 0.5254 MB / 388.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.01297, allocations: 0 / 388.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.013, allocations: 8 kB / 388.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008505/0.01385, allocations: 296.4 kB / 389.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01386, allocations: 4 kB / 389.1 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.01536, allocations: 1.867 MB / 391 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01536, allocations: 0 / 391 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.01594, allocations: 432.1 kB / 391.4 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.01595, allocations: 8.016 kB / 391.4 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.01596, allocations: 12 kB / 391.4 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-05/0.01601, allocations: 0 / 391.4 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.01606, allocations: 19.95 kB / 391.5 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01606, allocations: 7.984 kB / 391.5 MB, free: 5.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.701e-05/0.0161, allocations: 87.28 kB / 391.6 MB, free: 5.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0161, allocations: 0 / 391.6 MB, free: 5.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.01635, allocations: 40.12 kB / 391.6 MB, free: 5.75 MB / 362.7 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.0008011/0.01715, allocations: 0.9442 MB / 392.5 MB, free: 4.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000691/0.01784, allocations: 313.7 kB / 392.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.01784, allocations: 0 / 392.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.01819, allocations: 250.6 kB / 393.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.01838, allocations: 12.66 kB / 393.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.02059, allocations: 1.967 MB / 395.1 MB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.092e-05/0.02067, allocations: 91.75 kB / 395.2 MB, free: 2.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.02071, allocations: 4.984 kB / 395.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.02077, allocations: 28.48 kB / 395.2 MB, free: 1.977 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.02077, allocations: 0 / 395.2 MB, free: 1.977 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.04393, allocations: 3.901 MB / 399.1 MB, free: 14.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.524, allocations: 3.938 kB / 399.1 MB, free: 14.28 MB / 378.7 MB " [Timeout remaining time 652] (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: 9.493526995182037] Failed to read output from testmodel.py, exit status != 0: 7.617128481157124 7.627497741 7.622036023 Calling exit ...