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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003162/0.003162, allocations: 0.5788 MB / 303.3 MB, free: 9.191 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001924/0.001924, allocations: 71.88 kB / 421.5 MB, free: 25.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08463/0.08655, allocations: 52.3 MB / 473.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001756/0.08831, allocations: 0.586 MB / 474.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.08851, allocations: 47.8 kB / 474.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.08855, allocations: 0 / 474.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.08857, allocations: 7.938 kB / 474.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/0.08864, allocations: 3.938 kB / 474.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.675e-05/0.08874, allocations: 15.97 kB / 474.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.158e-05/0.08883, allocations: 55.77 kB / 474.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.08889, allocations: 8.391 kB / 474.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.08893, allocations: 19.92 kB / 474.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.08901, allocations: 31.78 kB / 474.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.08903, allocations: 4 kB / 474.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.08904, allocations: 4 kB / 474.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.08906, allocations: 11.98 kB / 474.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.0891, allocations: 23.86 kB / 474.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.857e-05/0.08919, allocations: 40.05 kB / 474.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.08919, allocations: 0 / 474.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08919, allocations: 0 / 474.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.0892, allocations: 0 / 474.6 MB, free: 4.062 MB / 334.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.0005462/0.08974, allocations: 371.3 kB / 475 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.08978, allocations: 11.89 kB / 475 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.08983, allocations: 42.73 kB / 475.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.08986, allocations: 8.891 kB / 475.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.09001, allocations: 172.3 kB / 475.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.09003, allocations: 8.375 kB / 475.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.09005, allocations: 8.312 kB / 475.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.09018, allocations: 68.61 kB / 475.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.0902, allocations: 7.922 kB / 475.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.09021, allocations: 4 kB / 475.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.09022, allocations: 4 kB / 475.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.0903, allocations: 31.98 kB / 475.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.09083, allocations: 320.7 kB / 475.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.09115, allocations: 122.5 kB / 475.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.836e-05/0.09122, allocations: 36.84 kB / 475.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.09123, allocations: 8 kB / 475.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.09126, allocations: 30.56 kB / 475.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.09126, allocations: 0 / 475.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.003602/0.09486, allocations: 0.9164 MB / 476.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.09492, allocations: 59.39 kB / 476.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.09502, allocations: 121.7 kB / 477 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.09505, allocations: 29.7 kB / 477 MB, free: 1.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.09512, allocations: 88.42 kB / 477.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.09517, allocations: 73.77 kB / 477.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.09524, allocations: 37.7 kB / 477.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.09539, allocations: 318.8 kB / 477.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.09548, allocations: 39.98 kB / 477.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.09558, allocations: 63.56 kB / 477.6 MB, free: 0.8203 MB / 334.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/0.09844, allocations: 0.5778 MB / 478.2 MB, free: 228 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.09844, allocations: 4 kB / 478.2 MB, free: 224 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009989/0.09944, allocations: 282.2 kB / 478.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.09946, allocations: 4 kB / 478.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.09946, allocations: 0 / 478.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009416/0.1004, allocations: 156.6 kB / 478.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.1005, allocations: 16 kB / 478.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.1034, allocations: 1.979 MB / 480.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.1035, allocations: 4 kB / 480.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1035, allocations: 7.938 kB / 480.6 MB, free: 13.62 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.0001463/0.1037, allocations: 125.8 kB / 480.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.1037, allocations: 11.95 kB / 480.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.1038, allocations: 24.84 kB / 480.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1038, allocations: 0 / 480.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.1038, allocations: 4 kB / 480.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1038, allocations: 0 / 480.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.1052, allocations: 0.5622 MB / 481.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1052, allocations: 0 / 481.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.1052, allocations: 12.19 kB / 481.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.1072, allocations: 292.4 kB / 481.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1072, allocations: 8 kB / 481.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002871/0.1101, allocations: 1.979 MB / 483.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1101, allocations: 8.094 kB / 483.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1112, allocations: 435.4 kB / 484.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.1112, allocations: 85.06 kB / 484.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1113, allocations: 0 / 484.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1114, allocations: 8 kB / 484.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1114, allocations: 15.95 kB / 484.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1114, allocations: 8 kB / 484.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.632e-05/0.1115, allocations: 83.28 kB / 484.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1115, allocations: 0 / 484.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.1118, allocations: 39.98 kB / 484.3 MB, free: 9.699 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.001447/0.1133, allocations: 0.9519 MB / 485.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000802/0.1141, allocations: 312.9 kB / 485.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1141, allocations: 0 / 485.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.1147, allocations: 250.5 kB / 485.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1149, allocations: 8.125 kB / 485.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.1182, allocations: 1.958 MB / 487.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1186, allocations: 0.7123 MB / 488.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.1186, allocations: 4.891 kB / 488.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.1187, allocations: 23.42 kB / 488.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1187, allocations: 0 / 488.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.1477, allocations: 3.184 MB / 491.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.94/10.09, allocations: 12.23 kB / 491.7 MB, free: 2.367 MB / 350.1 MB " [Timeout remaining time 650] (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: 12.485902687069029] Failed to read output from testmodel.py, exit status != 0: 10.16743935085833 10.182859731 10.090691252 Calling exit ...