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.0007719/0.0007719, 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.0007781/0.0007781, allocations: 165.9 kB / 22.45 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.8766/0.8766, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.001912/0.001912, allocations: 427.7 kB / 259.6 MB, free: 12.82 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.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 1.412e-06/1.412e-06, allocations: 0 / 381.8 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.452e-05, allocations: 2.281 kB / 381.8 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001264/0.001278, allocations: 0.5764 MB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.001497, allocations: 47.86 kB / 382.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.001537, allocations: 0 / 382.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.001557, allocations: 3.938 kB / 382.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.001655, allocations: 11.86 kB / 382.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.00176, allocations: 15.97 kB / 382.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.548e-05/0.001835, allocations: 43.89 kB / 382.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.001886, allocations: 7.938 kB / 382.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.001943, allocations: 27.95 kB / 382.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.002017, allocations: 23.91 kB / 382.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.002045, allocations: 8 kB / 382.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.002057, allocations: 4 kB / 382.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.002114, allocations: 11.97 kB / 382.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.002147, allocations: 19.92 kB / 382.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 9.008e-05/0.002238, allocations: 35.81 kB / 382.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.00224, allocations: 0 / 382.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.002241, allocations: 0 / 382.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.002246, allocations: 0 / 382.6 MB, free: 15.24 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.0004422/0.002688, allocations: 304.9 kB / 382.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.002734, allocations: 8.031 kB / 383 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.00277, allocations: 38.69 kB / 383 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.002797, allocations: 12.88 kB / 383 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.002901, allocations: 109.7 kB / 383.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.002914, allocations: 8.375 kB / 383.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.002934, allocations: 4.375 kB / 383.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.003051, allocations: 74.22 kB / 383.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.003059, allocations: 192 / 383.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.003072, allocations: 8.375 kB / 383.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.00308, allocations: 4.125 kB / 383.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.003151, allocations: 43.91 kB / 383.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.003542, allocations: 275.9 kB / 383.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.003761, allocations: 110.7 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.003807, allocations: 40.84 kB / 383.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.00382, allocations: 0 / 383.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.003842, allocations: 38.72 kB / 383.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 8.02e-07/0.003842, allocations: 0 / 383.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001796/0.005638, allocations: 0.8489 MB / 384.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.005669, allocations: 55.41 kB / 384.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.005733, allocations: 109.8 kB / 384.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.005745, allocations: 33.64 kB / 384.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.005791, allocations: 92.41 kB / 384.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.005822, allocations: 67.42 kB / 384.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.005862, allocations: 37.7 kB / 384.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.005941, allocations: 322.8 kB / 385.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.005993, allocations: 39.98 kB / 385.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.006059, allocations: 65.69 kB / 385.4 MB, free: 12.3 MB / 362.7 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.007309, allocations: 0.4924 MB / 385.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.007311, allocations: 3.938 kB / 385.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004648/0.007776, allocations: 283.1 kB / 386.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.00779, allocations: 4 kB / 386.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007794, allocations: 0 / 386.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/0.008225, allocations: 156.7 kB / 386.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.008268, allocations: 16 kB / 386.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.009774, allocations: 1.868 MB / 388.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.009808, allocations: 0 / 388.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.009816, allocations: 8 kB / 388.2 MB, free: 9.348 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 8.042e-05/0.009896, allocations: 117.8 kB / 388.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.009913, allocations: 12.08 kB / 388.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.009936, allocations: 20.78 kB / 388.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-07/0.009937, allocations: 3.938 kB / 388.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.009943, allocations: 7.938 kB / 388.3 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.009949, allocations: 8.109 kB / 388.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006684/0.01062, allocations: 0.5301 MB / 388.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01062, allocations: 0 / 388.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.01065, allocations: 11.98 kB / 388.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008825/0.01153, allocations: 284.5 kB / 389.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01154, allocations: 0 / 389.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.01289, allocations: 1.864 MB / 391 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01289, allocations: 12 kB / 391 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.01342, allocations: 420.7 kB / 391.5 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.01343, allocations: 11.98 kB / 391.5 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-06/0.01344, allocations: 4 kB / 391.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.01349, allocations: 8 kB / 391.5 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.01352, allocations: 15.91 kB / 391.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.01353, allocations: 8 kB / 391.5 MB, free: 5.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.863e-05/0.01355, allocations: 87.27 kB / 391.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01355, allocations: 0 / 391.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.01377, allocations: 39.94 kB / 391.6 MB, free: 5.699 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.0006801/0.01445, allocations: 0.9513 MB / 392.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.01487, allocations: 313.7 kB / 392.9 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01487, allocations: 7.938 kB / 392.9 MB, free: 4.391 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.01513, allocations: 250.5 kB / 393.1 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.01529, allocations: 4.656 kB / 393.1 MB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.01699, allocations: 1.957 MB / 395.1 MB, free: 2.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.01705, allocations: 91.75 kB / 395.2 MB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.204e-05/0.01707, allocations: 8.969 kB / 395.2 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.01711, allocations: 24.5 kB / 395.2 MB, free: 1.934 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01711, allocations: 0 / 395.2 MB, free: 1.934 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.03326, allocations: 3.918 MB / 399.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.303/7.336, allocations: 11.03 kB / 399.1 MB, free: 14.23 MB / 378.7 MB " [Timeout remaining time 653] (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: 9.116409983485937] Failed to read output from testmodel.py, exit status != 0: 7.417678566649556 7.428909601 7.424344267 Calling exit ...