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.001256/0.001256, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001482/0.001482, allocations: 177.3 kB / 15.95 MB, free: 216 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.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002581/0.002581, allocations: 0.5391 MB / 291.5 MB, free: 1.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8 kB / 352.7 MB, free: 2.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 50.58 MB / 403.2 MB, free: 164 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.2383/0.3672, allocations: 307.2 kB / 403.5 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.3675, allocations: 42.69 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.3675, allocations: 1.031 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.3675, allocations: 3.938 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.955e-05/0.3676, allocations: 8.906 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.67e-05/0.3677, allocations: 16.44 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.3678, allocations: 30.67 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.3679, allocations: 2.922 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.3679, allocations: 20.62 kB / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.368, allocations: 27.08 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.368, allocations: 6.75 kB / 403.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.3681, allocations: 3.812 kB / 403.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.3681, allocations: 10.23 kB / 403.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.3681, allocations: 39.92 kB / 403.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.268e-05/0.3682, allocations: 14.59 kB / 403.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3682, allocations: 0 / 403.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3682, allocations: 0.5 kB / 403.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3682, allocations: 0 / 403.8 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.0005045/0.3687, allocations: 370.7 kB / 404.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.3688, allocations: 9.031 kB / 404.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.3688, allocations: 37.55 kB / 404.2 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.3689, allocations: 7.969 kB / 404.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.369, allocations: 177.4 kB / 404.4 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.369, allocations: 2.125 kB / 404.4 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.3691, allocations: 9.484 kB / 404.4 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3692, allocations: 70.38 kB / 404.4 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3693, allocations: 0 / 404.4 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3693, allocations: 5.203 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3693, allocations: 3.406 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3694, allocations: 37.08 kB / 404.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.37, allocations: 312.8 kB / 404.8 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.3703, allocations: 121 kB / 404.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3703, allocations: 1.75 kB / 404.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3704, allocations: 36.22 kB / 404.9 MB, free: 8.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.3704, allocations: 5.391 kB / 404.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003762/0.3741, allocations: 0.9285 MB / 405.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.3742, allocations: 62.77 kB / 405.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.3743, allocations: 112.8 kB / 406 MB, free: 8.324 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3743, allocations: 30.11 kB / 406.1 MB, free: 8.293 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.3743, allocations: 90.59 kB / 406.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.3744, allocations: 63.52 kB / 406.2 MB, free: 8.164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.3744, allocations: 4.375 kB / 406.2 MB, free: 8.164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.3745, allocations: 322.4 kB / 406.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.3746, allocations: 42.53 kB / 406.6 MB, free: 7.848 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3747, allocations: 65.92 kB / 406.7 MB, free: 7.828 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.003064/0.3777, allocations: 492.1 kB / 407.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3778, allocations: 0 / 407.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00114/0.3789, allocations: 281.7 kB / 407.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3789, allocations: 4.531 kB / 407.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3789, allocations: 1.797 kB / 407.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.3802, allocations: 185.6 kB / 407.6 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.791e-05/0.3804, allocations: 26.16 kB / 407.6 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.3831, allocations: 1.82 MB / 409.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.3832, allocations: 4.391 kB / 409.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3832, allocations: 6.125 kB / 409.5 MB, free: 6.258 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.0001172/0.3833, allocations: 122.9 kB / 409.6 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.3834, allocations: 7.406 kB / 409.6 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.3834, allocations: 23.88 kB / 409.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3835, allocations: 0 / 409.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.3835, allocations: 3.562 kB / 409.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3835, allocations: 5.359 kB / 409.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.3849, allocations: 0.5708 MB / 410.2 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3849, allocations: 1.984 kB / 410.2 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.385, allocations: 12.22 kB / 410.2 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/0.3876, allocations: 318.2 kB / 410.5 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3876, allocations: 9.156 kB / 410.5 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.3901, allocations: 1.821 MB / 412.3 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3901, allocations: 1.125 kB / 412.3 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.3913, allocations: 446.4 kB / 412.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.3914, allocations: 88.97 kB / 412.9 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3914, allocations: 5.844 kB / 412.9 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3915, allocations: 1.062 kB / 412.9 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.3916, allocations: 16.94 kB / 412.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.3916, allocations: 5.391 kB / 412.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.3917, allocations: 88.48 kB / 413 MB, free: 3.785 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3917, allocations: 0 / 413 MB, free: 3.785 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000398/0.3921, allocations: 31.19 kB / 413 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.001329/0.3934, allocations: 1.044 MB / 414.1 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008356/0.3943, allocations: 318.9 kB / 414.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3943, allocations: 1.062 kB / 414.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.3948, allocations: 258.7 kB / 414.6 MB, free: 2.578 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.395, allocations: 11.5 kB / 414.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3969, allocations: 1.005 MB / 415.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3971, allocations: 0.709 MB / 416.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.3971, allocations: 7.594 kB / 416.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.3972, allocations: 25.58 kB / 416.4 MB, free: 1.145 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3972, allocations: 0 / 416.4 MB, free: 1.145 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.4119, allocations: 2.827 MB / 419.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.4121, allocations: 279 kB / 419.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.264, allocations: 3.859 kB / 419.5 MB, free: 0.5547 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)