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.00126/0.00126, 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.001268/0.001268, 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.874/0.874, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.002066/0.002066, allocations: 420.2 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 2.325e-06/2.325e-06, allocations: 0 / 381.8 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.785e-05, allocations: 6.219 kB / 381.8 MB, free: 88 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001929/0.001957, allocations: 0.5881 MB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.002239, allocations: 43.8 kB / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.002273, allocations: 0 / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.002291, allocations: 3.938 kB / 382.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.00237, allocations: 7.875 kB / 382.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.891e-05/0.002469, allocations: 15.97 kB / 382.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.002542, allocations: 47.83 kB / 382.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.002593, allocations: 8 kB / 382.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.523e-05/0.002648, allocations: 27.97 kB / 382.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.002721, allocations: 23.89 kB / 382.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.002743, allocations: 0 / 382.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-06/0.002752, allocations: 4 kB / 382.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.002772, allocations: 15.92 kB / 382.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.002795, allocations: 15.97 kB / 382.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 8.021e-05/0.002875, allocations: 35.81 kB / 382.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002878, allocations: 4 kB / 382.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.002879, allocations: 0 / 382.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.002882, allocations: 0 / 382.6 MB, free: 15.25 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.0004069/0.003289, allocations: 297.1 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.003331, allocations: 16.02 kB / 382.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.003361, allocations: 34.75 kB / 383 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.003386, allocations: 8.891 kB / 383 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.003482, allocations: 121.7 kB / 383.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.003494, allocations: 4.375 kB / 383.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.003514, allocations: 8.375 kB / 383.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.003619, allocations: 74.22 kB / 383.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003627, allocations: 4.188 kB / 383.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.003635, allocations: 384 / 383.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.003642, allocations: 8.125 kB / 383.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.481e-05/0.003707, allocations: 38.98 kB / 383.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.004086, allocations: 275.9 kB / 383.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.004301, allocations: 118.6 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.004345, allocations: 36.86 kB / 383.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.004358, allocations: 7.922 kB / 383.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.004376, allocations: 38.5 kB / 383.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.004377, allocations: 0 / 383.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001833/0.006211, allocations: 0.852 MB / 384.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.006239, allocations: 51.41 kB / 384.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.006299, allocations: 109.8 kB / 384.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.006312, allocations: 33.64 kB / 384.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.006353, allocations: 88.47 kB / 384.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.006385, allocations: 63.42 kB / 384.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.006426, allocations: 33.72 kB / 384.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.006505, allocations: 326.8 kB / 385.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.006559, allocations: 43.97 kB / 385.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.006624, allocations: 60.89 kB / 385.4 MB, free: 12.32 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.001386/0.008011, allocations: 0.503 MB / 385.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008012, 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.000484/0.008497, allocations: 275.7 kB / 386.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.00851, allocations: 4 kB / 386.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.008516, allocations: 0 / 386.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/0.008966, allocations: 160.7 kB / 386.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.009014, allocations: 19.98 kB / 386.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.01064, allocations: 1.86 MB / 388.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.01068, allocations: 4 kB / 388.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.01069, allocations: 4 kB / 388.2 MB, free: 9.359 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 9.126e-05/0.01078, allocations: 121.8 kB / 388.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.0108, allocations: 16.11 kB / 388.3 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.01083, allocations: 24.72 kB / 388.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01083, allocations: 3.938 kB / 388.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.01084, allocations: 4 kB / 388.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01084, allocations: 0 / 388.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/0.01167, allocations: 0.5223 MB / 388.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01167, allocations: 4 kB / 388.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.0117, allocations: 11.94 kB / 388.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/0.01257, allocations: 284.5 kB / 389.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01259, allocations: 7.984 kB / 389.2 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.01407, allocations: 1.864 MB / 391 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01408, allocations: 8.031 kB / 391 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.01465, allocations: 424.7 kB / 391.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.01465, allocations: 7.953 kB / 391.5 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.01467, allocations: 8 kB / 391.5 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.01472, allocations: 0 / 391.5 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.01476, allocations: 23.89 kB / 391.5 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.01477, allocations: 7.984 kB / 391.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.332e-05/0.0148, allocations: 87.28 kB / 391.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0148, allocations: 0 / 391.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.01504, allocations: 31.94 kB / 391.6 MB, free: 5.715 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.0007564/0.01579, allocations: 0.9522 MB / 392.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004912/0.01629, allocations: 312.3 kB / 392.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01629, allocations: 3.938 kB / 392.9 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.01659, allocations: 255.9 kB / 393.1 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.01677, allocations: 12.66 kB / 393.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.01866, allocations: 1.955 MB / 395.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.299e-05/0.01875, allocations: 91.75 kB / 395.2 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.669e-05/0.01877, allocations: 4.984 kB / 395.2 MB, free: 1.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.01883, allocations: 28.48 kB / 395.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01883, allocations: 0 / 395.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.04053, allocations: 3.905 MB / 399.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.48, allocations: 15.92 kB / 399.1 MB, free: 14.23 MB / 378.7 MB " [Timeout remaining time 652] (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: 9.199426906183362] Failed to read output from testmodel.py, exit status != 0: 7.562943940982223 7.571877887 7.5663157100000005 Calling exit ...