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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.0007916/0.0007917, allocations: 92.08 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008145/0.0008145, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003831/0.003831, allocations: 0.5469 MB / 291.6 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 11.98 kB / 352.8 MB, free: 2.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 50.57 MB / 403.3 MB, free: 148 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.2473/0.3866, allocations: 302.4 kB / 403.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002295/0.3869, allocations: 46.09 kB / 403.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.3869, allocations: 1 kB / 403.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.3869, allocations: 3.938 kB / 403.7 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.743e-05/0.387, allocations: 3.516 kB / 403.7 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.905e-05/0.3871, allocations: 16.23 kB / 403.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.3872, allocations: 41.77 kB / 403.8 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.418e-05/0.3873, allocations: 3.469 kB / 403.8 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.3874, allocations: 24.56 kB / 403.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.3875, allocations: 26.67 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3875, allocations: 3.75 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.3875, allocations: 7 kB / 403.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.3875, allocations: 14 kB / 403.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.3876, allocations: 37.45 kB / 403.9 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.798e-05/0.3876, allocations: 14.47 kB / 403.9 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3877, allocations: 1.125 kB / 403.9 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3877, allocations: 0 / 403.9 MB, free: 9.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.3877, allocations: 0 / 403.9 MB, free: 9.789 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.0004908/0.3882, allocations: 371.8 kB / 404.2 MB, free: 9.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3882, allocations: 9.312 kB / 404.3 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.3883, allocations: 40.47 kB / 404.3 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3883, allocations: 8.812 kB / 404.3 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3884, allocations: 170.2 kB / 404.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3885, allocations: 6.562 kB / 404.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.3885, allocations: 9.156 kB / 404.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3886, allocations: 70.84 kB / 404.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3886, allocations: 0 / 404.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3887, allocations: 4.375 kB / 404.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3887, allocations: 5.281 kB / 404.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3888, allocations: 37.77 kB / 404.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.3893, allocations: 310.8 kB / 404.9 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.3897, allocations: 122.4 kB / 405 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/0.3898, allocations: 43.38 kB / 405.1 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3898, allocations: 2.391 kB / 405.1 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3898, allocations: 32.88 kB / 405.1 MB, free: 8.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.725e-06/0.3899, allocations: 0 / 405.1 MB, free: 8.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003564/0.3934, allocations: 0.9407 MB / 406 MB, free: 8.477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3935, allocations: 55.75 kB / 406.1 MB, free: 8.414 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.3936, allocations: 111.4 kB / 406.2 MB, free: 8.316 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3936, allocations: 26.77 kB / 406.2 MB, free: 8.285 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.3936, allocations: 89.72 kB / 406.3 MB, free: 8.195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.3937, allocations: 62.8 kB / 406.4 MB, free: 8.156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.3937, allocations: 3.062 kB / 406.4 MB, free: 8.156 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.3938, allocations: 322.8 kB / 406.7 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.3939, allocations: 46.53 kB / 406.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.394, allocations: 68.41 kB / 406.8 MB, free: 7.816 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.002664/0.3967, allocations: 490.7 kB / 407.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3967, allocations: 1.812 kB / 407.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009662/0.3977, allocations: 282.8 kB / 407.6 MB, free: 7.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3977, allocations: 5.375 kB / 407.6 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3977, allocations: 1.562 kB / 407.6 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.3989, allocations: 187.6 kB / 407.8 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.399, allocations: 17.02 kB / 407.8 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.4015, allocations: 1.816 MB / 409.6 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.4016, allocations: 4.5 kB / 409.6 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.4016, allocations: 6.766 kB / 409.6 MB, free: 6.242 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.4017, allocations: 119.6 kB / 409.7 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.4018, allocations: 9.406 kB / 409.7 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.4019, allocations: 19.7 kB / 409.7 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4019, allocations: 1.375 kB / 409.7 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.4019, allocations: 2.562 kB / 409.7 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4019, allocations: 5.031 kB / 409.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.4033, allocations: 0.5703 MB / 410.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4033, allocations: 0.6562 kB / 410.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.4033, allocations: 19.72 kB / 410.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/0.4054, allocations: 308.3 kB / 410.6 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.4055, allocations: 5.438 kB / 410.6 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.4081, allocations: 1.813 MB / 412.5 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4081, allocations: 2.156 kB / 412.5 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.4093, allocations: 434.4 kB / 412.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.4094, allocations: 88.95 kB / 413 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.4094, allocations: 2.812 kB / 413 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4095, allocations: 5.188 kB / 413 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.4096, allocations: 17.52 kB / 413 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4096, allocations: 4.109 kB / 413 MB, free: 3.867 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.825e-05/0.4097, allocations: 87.55 kB / 413.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4097, allocations: 0 / 413.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.4101, allocations: 36.47 kB / 413.1 MB, free: 3.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/0.4115, allocations: 0.9595 MB / 414.1 MB, free: 3.008 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008204/0.4123, allocations: 314.7 kB / 414.4 MB, free: 2.832 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4123, allocations: 3.938 kB / 414.4 MB, free: 2.828 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.4129, allocations: 260.9 kB / 414.7 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.4131, allocations: 7.359 kB / 414.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.4153, allocations: 0.8584 MB / 415.5 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4156, allocations: 0.7016 MB / 416.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.233e-05/0.4157, allocations: 6.438 kB / 416.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.4158, allocations: 25.39 kB / 416.2 MB, free: 1.383 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4158, allocations: 0 / 416.2 MB, free: 1.383 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.4342, allocations: 2.859 MB / 419.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.4345, allocations: 280.5 kB / 419.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.421, allocations: 3.094 kB / 419.4 MB, free: 0.7812 MB / 286.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/linux/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)