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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004995/0.004995, allocations: 0.5624 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 55.91 kB / 351.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1589, allocations: 49.6 MB / 401.2 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.00273/0.1617, allocations: 0.5909 MB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.324/0.4857, allocations: 43.14 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.4859, allocations: 0 / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.4859, allocations: 2.812 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.4861, allocations: 6.406 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.4863, allocations: 19.34 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.4864, allocations: 49.36 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4866, allocations: 3.719 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.4866, allocations: 22.72 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.4867, allocations: 29.78 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.4868, allocations: 3.656 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.4868, allocations: 3.875 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.4869, allocations: 11.19 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.4869, allocations: 29.34 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.4871, allocations: 25.62 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4871, allocations: 2.141 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4871, allocations: 0 / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.4871, allocations: 1.094 kB / 402.1 MB, free: 10.32 MB / 286.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.0006284/0.4877, allocations: 376.2 kB / 402.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.4878, allocations: 17.77 kB / 402.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.4879, allocations: 37 kB / 402.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.4879, allocations: 9.844 kB / 402.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.488, allocations: 172.5 kB / 402.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.4881, allocations: 7.031 kB / 402.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.4881, allocations: 9.469 kB / 402.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4883, allocations: 69.61 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4883, allocations: 3.938 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4883, allocations: 8.094 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4884, allocations: 6.031 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4885, allocations: 41.47 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.4891, allocations: 309.7 kB / 403.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.4894, allocations: 120.4 kB / 403.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.4895, allocations: 41.09 kB / 403.3 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.4895, allocations: 1.562 kB / 403.3 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.4895, allocations: 35.7 kB / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.4895, allocations: 0.75 kB / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.004119/0.4937, allocations: 0.9263 MB / 404.3 MB, free: 9.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.4937, allocations: 53.72 kB / 404.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.4938, allocations: 111.2 kB / 404.4 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4939, allocations: 29.94 kB / 404.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.4939, allocations: 90.47 kB / 404.5 MB, free: 8.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.494, allocations: 61.72 kB / 404.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.494, allocations: 42.23 kB / 404.6 MB, free: 8.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.4941, allocations: 319.7 kB / 404.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.4942, allocations: 42.81 kB / 405 MB, free: 8.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.4943, allocations: 61.14 kB / 405 MB, free: 8.34 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/0.4973, allocations: 0.5721 MB / 405.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4973, allocations: 0 / 405.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001064/0.4984, allocations: 283.4 kB / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4984, allocations: 6.312 kB / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.4985, allocations: 0 / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009974/0.4995, allocations: 155.6 kB / 406.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.4996, allocations: 25.55 kB / 406.1 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.5024, allocations: 1.977 MB / 408.1 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.5025, allocations: 7.531 kB / 408.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5025, allocations: 8.266 kB / 408.1 MB, free: 6.383 MB / 286.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 = 100000.0. 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.000114/0.5027, allocations: 125.7 kB / 408.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.5027, allocations: 8.141 kB / 408.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.5028, allocations: 25.44 kB / 408.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5028, allocations: 0 / 408.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.5028, allocations: 7.781 kB / 408.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.5028, allocations: 1.453 kB / 408.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.5042, allocations: 0.5579 MB / 408.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5042, allocations: 4.906 kB / 408.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.5043, allocations: 16.52 kB / 408.8 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.5064, allocations: 282.7 kB / 409.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5064, allocations: 11.56 kB / 409.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.5091, allocations: 1.974 MB / 411.1 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5091, allocations: 2.5 kB / 411.1 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.5103, allocations: 437.9 kB / 411.5 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.5104, allocations: 84.38 kB / 411.6 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.5104, allocations: 7.219 kB / 411.6 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5105, allocations: 2.062 kB / 411.6 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.5106, allocations: 19.7 kB / 411.6 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.5106, allocations: 13.23 kB / 411.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.748e-05/0.5106, allocations: 88.72 kB / 411.7 MB, free: 3.641 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5107, allocations: 0 / 411.7 MB, free: 3.641 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.511, allocations: 33.94 kB / 411.7 MB, free: 3.633 MB / 286.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.001374/0.5124, allocations: 0.9568 MB / 412.7 MB, free: 2.859 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009611/0.5134, allocations: 324.5 kB / 413 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5134, allocations: 1.188 kB / 413 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006179/0.514, allocations: 253 kB / 413.3 MB, free: 2.512 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.5143, allocations: 16.88 kB / 413.3 MB, free: 2.504 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.5181, allocations: 1.956 MB / 415.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.5184, allocations: 0.7012 MB / 415.9 MB, free: 328 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.781e-05/0.5184, allocations: 6.422 kB / 416 MB, free: 328 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.5185, allocations: 26.14 kB / 416 MB, free: 308 kB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5185, allocations: 0 / 416 MB, free: 308 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.5498, allocations: 3.091 MB / 419.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.5, allocations: 10.39 kB / 419.1 MB, free: 15.86 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)