Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.0007186/0.0007186, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000917/0.000917, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9465/0.9465, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.002304/0.002304, allocations: 415.4 kB / 259.6 MB, free: 12.83 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.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 381.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.433e-05, allocations: 2.281 kB / 381.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001952/0.001976, allocations: 0.5695 MB / 382.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.002205, allocations: 47.81 kB / 382.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.002244, allocations: 0 / 382.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.002265, allocations: 3.938 kB / 382.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.002349, allocations: 7.922 kB / 382.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.002461, allocations: 7.922 kB / 382.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.002562, allocations: 51.88 kB / 382.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.002627, allocations: 0 / 382.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.916e-05/0.002707, allocations: 31.91 kB / 382.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.002793, allocations: 31.89 kB / 382.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.002823, allocations: 4 kB / 382.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.002835, allocations: 4 kB / 382.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.002855, allocations: 3.984 kB / 382.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.002887, allocations: 23.92 kB / 382.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.002998, allocations: 39.75 kB / 382.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.003001, allocations: 0 / 382.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003002, allocations: 0 / 382.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.003008, allocations: 0 / 382.6 MB, free: 14.08 MB / 314.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.0005155/0.003523, allocations: 306.2 kB / 382.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.003575, allocations: 8.031 kB / 382.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.00362, allocations: 34.75 kB / 382.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.003655, allocations: 0.9375 kB / 382.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.003788, allocations: 125.7 kB / 383.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.003803, allocations: 384 / 383.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.003832, allocations: 8.375 kB / 383.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.003991, allocations: 73.67 kB / 383.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.004001, allocations: 192 / 383.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.004013, allocations: 4.375 kB / 383.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.00402, allocations: 8.125 kB / 383.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.195e-05/0.004112, allocations: 39.97 kB / 383.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.004632, allocations: 271.9 kB / 383.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.004907, allocations: 98.48 kB / 383.6 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.004974, allocations: 40.83 kB / 383.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.00499, allocations: 7.875 kB / 383.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.005013, allocations: 34.56 kB / 383.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.005015, allocations: 0 / 383.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002632/0.007647, allocations: 0.774 MB / 384.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.007696, allocations: 59.34 kB / 384.5 MB, free: 12.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.007777, allocations: 109.8 kB / 384.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.007792, allocations: 29.7 kB / 384.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.007854, allocations: 92.08 kB / 384.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.007896, allocations: 59.48 kB / 384.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.007951, allocations: 29.72 kB / 384.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.008055, allocations: 322.8 kB / 385.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.008118, allocations: 35.98 kB / 385.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.0082, allocations: 61.69 kB / 385.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.008358, allocations: 105.6 kB / 385.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.008361, allocations: 3.938 kB / 385.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000648/0.009009, allocations: 266.1 kB / 385.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.00903, allocations: 11.12 kB / 385.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.009038, allocations: 0 / 385.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.009633, allocations: 148.7 kB / 385.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.009701, allocations: 23.92 kB / 385.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.01174, allocations: 1.821 MB / 387.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.0118, allocations: 8 kB / 387.6 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.01181, allocations: 4 kB / 387.6 MB, free: 8.758 MB / 314.7 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001099/0.01192, allocations: 117.8 kB / 387.7 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.01196, allocations: 11.89 kB / 387.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.01199, allocations: 16.44 kB / 387.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01199, allocations: 0 / 387.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.012, allocations: 8 kB / 387.7 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01201, allocations: 4.031 kB / 387.7 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.01219, allocations: 156.8 kB / 387.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.0122, allocations: 0 / 387.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.01224, allocations: 15.94 kB / 387.9 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.01337, allocations: 280.4 kB / 388.2 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.01339, allocations: 7.984 kB / 388.2 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.01524, allocations: 1.821 MB / 390 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01524, allocations: 0 / 390 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.016, allocations: 404 kB / 390.4 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.01602, allocations: 7.938 kB / 390.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.01603, allocations: 15.88 kB / 390.4 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.01611, allocations: 0 / 390.4 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.01616, allocations: 27.84 kB / 390.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01617, allocations: 4 kB / 390.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.01623, allocations: 91.64 kB / 390.5 MB, free: 5.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01623, allocations: 0 / 390.5 MB, free: 5.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.0166, allocations: 36 kB / 390.6 MB, free: 5.566 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.001048/0.01765, allocations: 0.9201 MB / 391.5 MB, free: 4.617 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.01819, allocations: 271.9 kB / 391.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01819, allocations: 0 / 391.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.01845, allocations: 222.5 kB / 392 MB, free: 4.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01871, allocations: 18.31 kB / 392 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.02118, allocations: 1.881 MB / 393.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.02131, allocations: 91.56 kB / 394 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.396e-05/0.02135, allocations: 8.359 kB / 394 MB, free: 2.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.02141, allocations: 28.48 kB / 394 MB, free: 1.977 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.02142, allocations: 0 / 394 MB, free: 1.977 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.04427, allocations: 3.848 MB / 397.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.524, allocations: 4.062 kB / 397.9 MB, free: 14.33 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial_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_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.40436248946935] Failed to read output from testmodel.py, exit status != 0: 7.605605675838888 7.614168382 7.608509212 Calling exit ...