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.0009508/0.0009509, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007047/0.007048, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.598/1.598, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.003994/0.003994, allocations: 0.5581 MB / 292 MB, free: 1.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 4 kB / 353.4 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3457, allocations: 50.57 MB / 404 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.0009119/0.3466, allocations: 323 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002882/0.347, allocations: 48.19 kB / 404.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.347, allocations: 1.25 kB / 404.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.3471, allocations: 7.906 kB / 404.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.3472, allocations: 2.125 kB / 404.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.3473, allocations: 10.09 kB / 404.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3474, allocations: 52.67 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.3475, allocations: 4.016 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.3476, allocations: 20.14 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.3477, allocations: 31.14 kB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3477, allocations: 3.156 kB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.3477, allocations: 3.812 kB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3478, allocations: 10.64 kB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.3478, allocations: 58.64 kB / 404.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.409e-05/0.3479, allocations: 26.47 kB / 404.6 MB, free: 9.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3479, allocations: 0.5 kB / 404.6 MB, free: 9.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.348, allocations: 0 / 404.6 MB, free: 9.957 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.348, allocations: 1.156 kB / 404.6 MB, free: 9.957 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.0004669/0.3484, allocations: 362.1 kB / 404.9 MB, free: 9.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3485, allocations: 13.66 kB / 404.9 MB, free: 9.594 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.3485, allocations: 37.11 kB / 405 MB, free: 9.555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.3486, allocations: 12.67 kB / 405 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3487, allocations: 174.7 kB / 405.1 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3487, allocations: 2.375 kB / 405.1 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3488, allocations: 13.5 kB / 405.2 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.3489, allocations: 73.62 kB / 405.2 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.349, allocations: 3.938 kB / 405.2 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.349, allocations: 4.375 kB / 405.2 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.349, allocations: 5.156 kB / 405.2 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3491, allocations: 41.09 kB / 405.3 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.3496, allocations: 305.9 kB / 405.6 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.3499, allocations: 121.6 kB / 405.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.35, allocations: 39.55 kB / 405.7 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.35, allocations: 2.312 kB / 405.7 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.3501, allocations: 38.91 kB / 405.8 MB, free: 8.949 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.3501, allocations: 0 / 405.8 MB, free: 8.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003757/0.3538, allocations: 0.943 MB / 406.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3539, allocations: 56.41 kB / 406.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.354, allocations: 116.6 kB / 406.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.354, allocations: 29.64 kB / 406.9 MB, free: 8.441 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.3541, allocations: 88 kB / 407 MB, free: 8.352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.3541, allocations: 66.86 kB / 407.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.3542, allocations: 23.02 kB / 407.1 MB, free: 8.293 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.3543, allocations: 319.9 kB / 407.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.3544, allocations: 41.83 kB / 407.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3545, allocations: 69.06 kB / 407.5 MB, free: 7.961 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.00332/0.3578, allocations: 0.593 MB / 408.1 MB, free: 7.824 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3578, allocations: 1.125 kB / 408.1 MB, free: 7.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00119/0.359, allocations: 281.8 kB / 408.4 MB, free: 7.766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3591, allocations: 4.938 kB / 408.4 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3591, allocations: 1.094 kB / 408.4 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.3603, allocations: 191.2 kB / 408.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.3604, allocations: 22.03 kB / 408.6 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.3632, allocations: 1.816 MB / 410.4 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.074e-05/0.3633, allocations: 5.312 kB / 410.4 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3634, allocations: 3.469 kB / 410.4 MB, free: 6.285 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 (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.0001165/0.3635, allocations: 127.3 kB / 410.5 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.3635, allocations: 12.38 kB / 410.6 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.3636, allocations: 17.45 kB / 410.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3636, allocations: 3.375 kB / 410.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3636, allocations: 1.531 kB / 410.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3636, allocations: 1.219 kB / 410.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.365, allocations: 0.5742 MB / 411.2 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.365, allocations: 0.6094 kB / 411.2 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.3651, allocations: 19.64 kB / 411.2 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.3675, allocations: 309.6 kB / 411.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3676, allocations: 3.516 kB / 411.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.3701, allocations: 1.804 MB / 413.3 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3701, allocations: 1.375 kB / 413.3 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3713, allocations: 438.6 kB / 413.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3714, allocations: 84.06 kB / 413.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3714, allocations: 10.81 kB / 413.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3715, allocations: 1.891 kB / 413.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.3716, allocations: 16.61 kB / 413.8 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3716, allocations: 8.234 kB / 413.8 MB, free: 3.797 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.651e-05/0.3717, allocations: 88.48 kB / 413.9 MB, free: 3.719 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3717, allocations: 0 / 413.9 MB, free: 3.719 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.3721, allocations: 30.56 kB / 413.9 MB, free: 3.715 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.001399/0.3735, allocations: 0.9702 MB / 414.9 MB, free: 2.934 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009063/0.3744, allocations: 317.3 kB / 415.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3744, allocations: 0 / 415.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.3751, allocations: 260.7 kB / 415.5 MB, free: 2.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.3754, allocations: 6.844 kB / 415.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.3789, allocations: 2.001 MB / 417.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.3791, allocations: 0.7013 MB / 418.2 MB, free: 368 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.793e-05/0.3791, allocations: 9.797 kB / 418.2 MB, free: 364 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.3792, allocations: 26.48 kB / 418.2 MB, free: 344 kB / 286.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3792, allocations: 0 / 418.2 MB, free: 344 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.3964, allocations: 2.907 MB / 421.1 MB, free: 104 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004107/0.3969, allocations: 306 kB / 421.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.446, allocations: 0 / 421.4 MB, free: 15.72 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)