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.00195/0.00195, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.003124/0.003124, allocations: 216.2 kB / 23.02 MB, free: 4.945 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.00364/0.00364, allocations: 0.5685 MB / 313.8 MB, free: 2.344 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 59.91 kB / 435.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09617, allocations: 53.52 MB / 489.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001789/0.09795, allocations: 0.5784 MB / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.09816, allocations: 43.81 kB / 490 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.0982, allocations: 4 kB / 490 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.09822, allocations: 3.938 kB / 490 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.759e-05/0.09829, allocations: 3.938 kB / 490.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.69e-05/0.09837, allocations: 15.95 kB / 490.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.398e-05/0.09846, allocations: 47.84 kB / 490.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.0985, allocations: 3.984 kB / 490.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.09855, allocations: 27.92 kB / 490.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.09862, allocations: 27.91 kB / 490.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.09863, allocations: 0 / 490.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.09864, allocations: 4 kB / 490.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.09867, allocations: 19.86 kB / 490.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.09871, allocations: 27.78 kB / 490.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.0988, allocations: 32.12 kB / 490.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.0988, allocations: 0 / 490.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0988, allocations: 0 / 490.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.09881, allocations: 0 / 490.3 MB, free: 10.45 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.0006529/0.09946, allocations: 302.2 kB / 490.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.09951, allocations: 8.031 kB / 490.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.591e-05/0.09952, allocations: 4.188 kB / 490.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.09956, allocations: 38.73 kB / 490.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.09959, allocations: 4.938 kB / 490.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.09973, allocations: 122.4 kB / 490.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.09974, allocations: 4.375 kB / 490.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.09977, allocations: 8.375 kB / 490.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.09991, allocations: 73.92 kB / 490.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.09992, allocations: 0 / 490.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.09993, allocations: 4 kB / 490.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.09994, allocations: 0 / 490.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.1, allocations: 43.97 kB / 490.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.1006, allocations: 283.8 kB / 491.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.1009, allocations: 114.7 kB / 491.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.101, allocations: 36.84 kB / 491.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.101, allocations: 4 kB / 491.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.101, allocations: 30.56 kB / 491.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.101, allocations: 4 kB / 491.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003605/0.1046, allocations: 0.8527 MB / 492.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1047, allocations: 59.31 kB / 492.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.1048, allocations: 113.8 kB / 492.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1048, allocations: 29.7 kB / 492.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.1048, allocations: 88.41 kB / 492.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.1049, allocations: 67.42 kB / 492.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.105, allocations: 33.72 kB / 492.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1051, allocations: 322.8 kB / 492.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.1052, allocations: 39.98 kB / 492.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1053, allocations: 61.69 kB / 493 MB, free: 7.504 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.002882/0.1082, allocations: 0.4983 MB / 493.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1082, allocations: 0 / 493.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001042/0.1092, allocations: 282 kB / 493.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1092, allocations: 10.64 kB / 493.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1092, allocations: 0 / 493.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000957/0.1102, allocations: 164.6 kB / 493.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.1103, allocations: 12 kB / 493.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.1133, allocations: 1.868 MB / 495.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.1134, allocations: 4 kB / 495.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1134, allocations: 4 kB / 495.8 MB, free: 4.543 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.0001291/0.1135, allocations: 123.9 kB / 495.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.1136, allocations: 7.953 kB / 495.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.1136, allocations: 24.81 kB / 496 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1136, allocations: 4 kB / 496 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1137, allocations: 0 / 496 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1137, allocations: 0 / 496 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.1151, allocations: 0.533 MB / 496.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1151, allocations: 0 / 496.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.1151, allocations: 12 kB / 496.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.1172, allocations: 292.6 kB / 496.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.1172, allocations: 11.92 kB / 496.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.12, allocations: 1.868 MB / 498.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.12, allocations: 3.938 kB / 498.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.1212, allocations: 432.8 kB / 499.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.1212, allocations: 11.95 kB / 499.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1212, allocations: 0 / 499.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1213, allocations: 8 kB / 499.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1214, allocations: 15.95 kB / 499.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1214, allocations: 8 kB / 499.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.501e-05/0.1214, allocations: 87.27 kB / 499.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1214, allocations: 0 / 499.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.1218, allocations: 32 kB / 499.3 MB, free: 0.8906 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.001474/0.1233, allocations: 0.9483 MB / 0.4885 GB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008084/0.1241, allocations: 302.4 kB / 0.4888 GB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1241, allocations: 0 / 0.4888 GB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.1247, allocations: 254.5 kB / 0.489 GB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1249, allocations: 11.94 kB / 0.489 GB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.1283, allocations: 1.971 MB / 0.4909 GB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.1283, allocations: 87.81 kB / 0.491 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.098e-05/0.1284, allocations: 4.969 kB / 0.491 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.1284, allocations: 19.62 kB / 0.4911 GB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1284, allocations: 0 / 0.4911 GB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.1557, allocations: 3.447 MB / 0.4944 GB, free: 9.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.39, allocations: 4.062 kB / 0.4944 GB, free: 9.902 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.241732839960605] Failed to read output from testmodel.py, exit status != 0: 12.557840719004162 12.778001468 12.676181231 Calling exit ...