Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008195/0.0008197, allocations: 99.42 kB / 16.02 MB, free: 76 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.0009582/0.0009582, allocations: 180.4 kB / 16.92 MB, free: 6.918 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.32 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.002364/0.002364, allocations: 0.5546 MB / 292.6 MB, free: 1.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 8 kB / 354 MB, free: 2.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3166, allocations: 50.56 MB / 404.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.0007769/0.3175, allocations: 314.3 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.3177, allocations: 46.39 kB / 404.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.3178, allocations: 0 / 404.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.3178, allocations: 3.938 kB / 404.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.3179, allocations: 5.422 kB / 404.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.961e-05/0.318, allocations: 14.61 kB / 404.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.39e-05/0.3181, allocations: 52.62 kB / 404.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.3181, allocations: 7.672 kB / 404.9 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.3182, allocations: 20.77 kB / 405 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.3183, allocations: 30.58 kB / 405 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.3183, allocations: 3.219 kB / 405 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.3183, allocations: 3.188 kB / 405 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.3184, allocations: 14.3 kB / 405 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.3184, allocations: 52.36 kB / 405.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.622e-05/0.3185, allocations: 15.55 kB / 405.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3185, allocations: 0 / 405.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3185, allocations: 4.703 kB / 405.1 MB, free: 9.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3185, allocations: 1.156 kB / 405.1 MB, free: 9.938 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.0004315/0.319, allocations: 364.6 kB / 405.4 MB, free: 9.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.319, allocations: 9.688 kB / 405.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3191, allocations: 8.219 kB / 405.5 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.3192, allocations: 169.9 kB / 405.6 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3192, allocations: 10.06 kB / 405.6 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3192, allocations: 19.67 kB / 405.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3194, allocations: 64.42 kB / 405.7 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3194, allocations: 0.75 kB / 405.7 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3194, allocations: 7.969 kB / 405.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3194, allocations: 0.8125 kB / 405.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.743e-05/0.3195, allocations: 40.94 kB / 405.8 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.32, allocations: 304.3 kB / 406.1 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.3202, allocations: 112.2 kB / 406.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.3203, allocations: 37.08 kB / 406.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3203, allocations: 0.9688 kB / 406.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3203, allocations: 32.92 kB / 406.2 MB, free: 8.973 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3204, allocations: 0 / 406.2 MB, free: 8.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003444/0.3238, allocations: 0.8715 MB / 407.1 MB, free: 8.664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.3238, allocations: 52.75 kB / 407.2 MB, free: 8.602 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.3239, allocations: 109.5 kB / 407.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.324, allocations: 33.02 kB / 407.3 MB, free: 8.469 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.324, allocations: 92.61 kB / 407.4 MB, free: 8.383 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.3241, allocations: 56.62 kB / 407.5 MB, free: 8.348 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.3241, allocations: 22.98 kB / 407.5 MB, free: 8.332 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.3242, allocations: 323.2 kB / 407.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.3242, allocations: 39.45 kB / 407.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.3243, allocations: 62.89 kB / 407.9 MB, free: 8 MB / 286.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.3273, allocations: 0.4942 MB / 408.4 MB, free: 7.961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3273, allocations: 1 kB / 408.4 MB, free: 7.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001645/0.329, allocations: 329.9 kB / 408.7 MB, free: 7.895 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.329, allocations: 5.734 kB / 408.7 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.329, allocations: 1.031 kB / 408.7 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.3312, allocations: 277 kB / 409 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.3313, allocations: 18.19 kB / 409 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.3343, allocations: 1.811 MB / 410.8 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.274e-05/0.3344, allocations: 7.375 kB / 410.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3344, allocations: 3.562 kB / 410.8 MB, free: 6.523 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: $DER.E1 = 0.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 (10): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.3346, allocations: 120.5 kB / 410.9 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.3346, allocations: 6.031 kB / 411 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.3347, allocations: 23.98 kB / 411 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3347, allocations: 6 kB / 411 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.3347, allocations: 0 / 411 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3347, allocations: 2.719 kB / 411 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3349, allocations: 199.8 kB / 411.2 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3349, allocations: 4.781 kB / 411.2 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.335, allocations: 10.12 kB / 411.2 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00225/0.3372, allocations: 297.5 kB / 411.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3373, allocations: 5.438 kB / 411.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.3393, allocations: 1.753 MB / 413.2 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3393, allocations: 0.9688 kB / 413.2 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.3404, allocations: 415.8 kB / 413.7 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.3404, allocations: 85.2 kB / 413.7 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3404, allocations: 1.25 kB / 413.7 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3405, allocations: 5.734 kB / 413.7 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.3406, allocations: 12.75 kB / 413.8 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3406, allocations: 8.125 kB / 413.8 MB, free: 4.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.3407, allocations: 87.97 kB / 413.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3407, allocations: 0 / 413.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.341, allocations: 36.5 kB / 413.9 MB, free: 4.184 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,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 (8): * Single equations (assignments): 7 * 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 {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.881e-05/0.3411, allocations: 97.11 kB / 414 MB, free: 4.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008028/0.3419, allocations: 329.7 kB / 414.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3419, allocations: 0 / 414.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.3423, allocations: 226.1 kB / 414.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.3425, allocations: 6.969 kB / 414.5 MB, free: 3.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.3429, allocations: 307.4 kB / 414.8 MB, free: 3.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.3431, allocations: 0.7057 MB / 415.5 MB, free: 2.801 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.3432, allocations: 10.91 kB / 415.5 MB, free: 2.793 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3432, allocations: 3.938 kB / 415.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of Templates: time 0.005482/0.3487, allocations: 1.645 MB / 417.2 MB, free: 2.723 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)