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.001282/0.001282, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00157/0.00157, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.789 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.003281/0.003281, allocations: 0.5864 MB / 313 MB, free: 2.305 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="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 0.00214/0.00214, allocations: 63.89 kB / 435.1 MB, free: 16.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09504, allocations: 53.52 MB / 488.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001998/0.09704, allocations: 0.5736 MB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.09729, allocations: 55.8 kB / 489.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.09733, allocations: 0 / 489.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.09734, allocations: 0 / 489.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.444e-05/0.09743, allocations: 7.922 kB / 489.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.09755, allocations: 15.92 kB / 489.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.742e-05/0.09765, allocations: 47.83 kB / 489.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.0977, allocations: 4 kB / 489.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.09775, allocations: 23.91 kB / 489.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.09783, allocations: 23.91 kB / 489.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.09785, allocations: 4 kB / 489.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.09786, allocations: 4 kB / 489.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.09789, allocations: 15.92 kB / 489.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.09793, allocations: 27.8 kB / 489.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.911e-05/0.09803, allocations: 32.11 kB / 489.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.09804, allocations: 0 / 489.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.09804, allocations: 3.984 kB / 489.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.09805, allocations: 0 / 489.5 MB, free: 10.41 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.0005628/0.09861, allocations: 298.2 kB / 489.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.09866, allocations: 8.031 kB / 489.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.334e-05/0.09871, allocations: 42.73 kB / 489.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.09875, allocations: 4.938 kB / 489.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.09892, allocations: 126.4 kB / 490 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.09894, allocations: 4.375 kB / 490 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.09897, allocations: 8.375 kB / 490 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.09914, allocations: 66.23 kB / 490 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.09916, allocations: 11.86 kB / 490 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.09917, allocations: 0 / 490 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.09917, allocations: 0 / 490 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.09927, allocations: 39.98 kB / 490.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.09988, allocations: 287.8 kB / 490.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.1002, allocations: 114.7 kB / 490.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.1003, allocations: 36.8 kB / 490.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1003, allocations: 0 / 490.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1003, allocations: 38.55 kB / 490.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1003, allocations: 0 / 490.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003713/0.1041, allocations: 0.8372 MB / 491.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1041, allocations: 59.31 kB / 491.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1042, allocations: 109.8 kB / 491.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1043, allocations: 33.7 kB / 491.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.1043, allocations: 88.47 kB / 491.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.1044, allocations: 71.41 kB / 491.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.1045, allocations: 37.7 kB / 491.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1046, allocations: 318.8 kB / 492.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.1047, allocations: 43.97 kB / 492.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1048, allocations: 60.33 kB / 492.2 MB, free: 7.48 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.002849/0.1077, allocations: 0.5024 MB / 492.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1077, allocations: 0 / 492.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009713/0.1086, allocations: 270.1 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1087, allocations: 12.03 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1087, allocations: 3.938 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009286/0.1096, allocations: 156.6 kB / 493.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.1097, allocations: 19.98 kB / 493.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.1126, allocations: 1.864 MB / 495 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.1127, allocations: 4 kB / 495 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1127, allocations: 8 kB / 495 MB, free: 4.52 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.0001342/0.1128, allocations: 121.8 kB / 495.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1129, allocations: 7.953 kB / 495.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.1129, allocations: 20.88 kB / 495.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1129, allocations: 11.98 kB / 495.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1129, allocations: 3.938 kB / 495.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1129, allocations: 0 / 495.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.1143, allocations: 0.5301 MB / 495.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1143, allocations: 0 / 495.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.1144, allocations: 12 kB / 495.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.1164, allocations: 284.7 kB / 496 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1164, allocations: 12 kB / 496 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/0.1193, allocations: 1.866 MB / 497.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1193, allocations: 0 / 497.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.1205, allocations: 439.5 kB / 498.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.1205, allocations: 7.953 kB / 498.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1206, allocations: 3.938 kB / 498.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1207, allocations: 8 kB / 498.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.1207, allocations: 19.95 kB / 498.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.1207, allocations: 11.98 kB / 498.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.938e-05/0.1208, allocations: 79.28 kB / 498.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1208, allocations: 0 / 498.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00044/0.1213, allocations: 36 kB / 498.5 MB, free: 0.8672 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.00166/0.1229, allocations: 0.9559 MB / 499.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1239, allocations: 298.5 kB / 499.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1239, allocations: 0 / 499.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.1246, allocations: 253.2 kB / 500 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.125, allocations: 19.92 kB / 500 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.1286, allocations: 1.95 MB / 0.4902 GB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.1288, allocations: 87.81 kB / 0.4903 GB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.1289, allocations: 12.97 kB / 0.4903 GB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.1289, allocations: 19.44 kB / 0.4903 GB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1289, allocations: 192 / 0.4903 GB, free: 13.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.1635, allocations: 3.753 MB / 0.494 GB, free: 9.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.15, allocations: 4.062 kB / 0.494 GB, free: 9.547 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.795633319299668] Failed to read output from testmodel.py, exit status != 0: 12.265851156786084 12.480356924 12.37807471 Calling exit ...