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: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006915/0.0006915, allocations: 91.84 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.000738/0.000738, 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.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.422 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.002378/0.002378, allocations: 0.5428 MB / 291.6 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 16 kB / 352.7 MB, free: 2.836 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 50.57 MB / 403.3 MB, free: 232 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.1846/0.3086, allocations: 302.1 kB / 403.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.3089, allocations: 47.44 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.309, allocations: 3.828 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.309, allocations: 6.125 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.3091, allocations: 1.062 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.3092, allocations: 13.41 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3093, allocations: 45.69 kB / 403.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.3094, allocations: 3.875 kB / 403.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.3094, allocations: 23.66 kB / 403.7 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.738e-05/0.3095, allocations: 26.05 kB / 403.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.3096, allocations: 3.344 kB / 403.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.3096, allocations: 3.094 kB / 403.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3096, allocations: 13.64 kB / 403.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.3096, allocations: 31.95 kB / 403.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.491e-05/0.3097, allocations: 18.89 kB / 403.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3097, allocations: 0 / 403.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3097, allocations: 1.312 kB / 403.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.3097, allocations: 0 / 403.8 MB, free: 9.742 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.0004517/0.3102, allocations: 369.5 kB / 404.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3103, allocations: 9.109 kB / 404.2 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3103, allocations: 7.625 kB / 404.2 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3105, allocations: 172.6 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3105, allocations: 5.812 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.3105, allocations: 8.375 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3107, allocations: 75.02 kB / 404.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3107, allocations: 0 / 404.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3107, allocations: 0.7812 kB / 404.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3108, allocations: 2.469 kB / 404.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.3109, allocations: 37.06 kB / 404.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.3114, allocations: 312.7 kB / 404.8 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3117, allocations: 131.4 kB / 404.9 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.3118, allocations: 35.84 kB / 404.9 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3118, allocations: 1.922 kB / 404.9 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.3118, allocations: 36.59 kB / 405 MB, free: 8.777 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.3119, allocations: 0 / 405 MB, free: 8.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003382/0.3152, allocations: 0.9373 MB / 405.9 MB, free: 8.469 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.3153, allocations: 57.38 kB / 406 MB, free: 8.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.3154, allocations: 114.3 kB / 406.1 MB, free: 8.305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3154, allocations: 26.45 kB / 406.1 MB, free: 8.273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.3154, allocations: 91.95 kB / 406.2 MB, free: 8.184 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.3155, allocations: 63.06 kB / 406.2 MB, free: 8.145 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.3155, allocations: 0 / 406.2 MB, free: 8.145 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.3156, allocations: 330.7 kB / 406.6 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.3157, allocations: 42.05 kB / 406.6 MB, free: 7.824 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3158, allocations: 63.61 kB / 406.7 MB, free: 7.809 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.002576/0.3183, allocations: 492.1 kB / 407.2 MB, free: 7.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3184, allocations: 0 / 407.2 MB, free: 7.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009609/0.3193, allocations: 281.6 kB / 407.4 MB, free: 7.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3193, allocations: 4.969 kB / 407.4 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3194, allocations: 0 / 407.4 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.3204, allocations: 190.5 kB / 407.6 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.3205, allocations: 19.28 kB / 407.6 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.323, allocations: 1.808 MB / 409.4 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.3231, allocations: 8.594 kB / 409.5 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3232, allocations: 8.812 kB / 409.5 MB, free: 6.23 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.0001124/0.3233, allocations: 116.4 kB / 409.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3233, allocations: 8.406 kB / 409.6 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.3234, allocations: 20.42 kB / 409.6 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3234, allocations: 1.969 kB / 409.6 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.3234, allocations: 1 kB / 409.6 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.922e-06/0.3234, allocations: 6.203 kB / 409.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.3248, allocations: 0.5769 MB / 410.2 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3248, allocations: 1.094 kB / 410.2 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.3248, allocations: 14.17 kB / 410.2 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.3268, allocations: 310.8 kB / 410.5 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3268, allocations: 6.328 kB / 410.5 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.3291, allocations: 1.81 MB / 412.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3291, allocations: 5.688 kB / 412.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3302, allocations: 433.9 kB / 412.8 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.3302, allocations: 85.11 kB / 412.8 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3302, allocations: 5.781 kB / 412.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3303, allocations: 6.984 kB / 412.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.3304, allocations: 12.91 kB / 412.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3304, allocations: 4.281 kB / 412.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.3305, allocations: 88.39 kB / 413 MB, free: 3.828 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3305, allocations: 3.938 kB / 413 MB, free: 3.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000383/0.3308, allocations: 39.44 kB / 413 MB, free: 3.812 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 9.219e-05/0.3309, allocations: 96.64 kB / 413.1 MB, free: 3.719 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007577/0.3317, allocations: 311.7 kB / 413.4 MB, free: 3.547 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3317, allocations: 0 / 413.4 MB, free: 3.547 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.3322, allocations: 268.9 kB / 413.7 MB, free: 3.375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.3325, allocations: 13.06 kB / 413.7 MB, free: 3.367 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.3329, allocations: 277.5 kB / 413.9 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.3331, allocations: 0.7069 MB / 414.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.248e-05/0.3331, allocations: 4.984 kB / 414.7 MB, free: 2.457 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.3332, allocations: 11.78 kB / 414.7 MB, free: 2.449 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3332, allocations: 0 / 414.7 MB, free: 2.449 MB / 286.1 MB Notification: Performance of Templates: time 0.004878/0.3381, allocations: 1.666 MB / 416.3 MB, free: 2.359 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)