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.001394/0.001394, allocations: 105.8 kB / 16.27 MB, free: 5.984 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.00132/0.00132, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003565/0.003565, allocations: 0.5707 MB / 291.6 MB, free: 14.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 63.89 kB / 352.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2897, allocations: 49.58 MB / 401.8 MB, free: 36.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001984/0.2918, allocations: 0.5713 MB / 402.4 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002169/0.292, allocations: 55.8 kB / 402.4 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.2921, allocations: 0 / 402.4 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.2921, allocations: 3.938 kB / 402.4 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.2922, allocations: 3.938 kB / 402.4 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.2923, allocations: 15.97 kB / 402.5 MB, free: 35.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.2924, allocations: 49.11 kB / 402.5 MB, free: 35.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.588e-05/0.2925, allocations: 4 kB / 402.5 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.2925, allocations: 27.92 kB / 402.5 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.2926, allocations: 27.84 kB / 402.6 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2926, allocations: 4 kB / 402.6 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.2927, allocations: 4 kB / 402.6 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.2927, allocations: 19.91 kB / 402.6 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.2927, allocations: 27.8 kB / 402.6 MB, free: 35.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.672e-05/0.2928, allocations: 23.89 kB / 402.6 MB, free: 35.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2928, allocations: 0 / 402.6 MB, free: 35.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2928, allocations: 0 / 402.6 MB, free: 35.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2929, allocations: 0 / 402.6 MB, free: 35.24 MB / 302.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.0004878/0.2933, allocations: 381.4 kB / 403 MB, free: 34.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2934, allocations: 11.89 kB / 403 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.2934, allocations: 8.844 kB / 403 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2936, allocations: 180.2 kB / 403.2 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2936, allocations: 8.375 kB / 403.2 MB, free: 34.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.2936, allocations: 4.375 kB / 403.2 MB, free: 34.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2938, allocations: 70.22 kB / 403.3 MB, free: 34.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2938, allocations: 192 / 403.3 MB, free: 34.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2938, allocations: 11.94 kB / 403.3 MB, free: 34.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2938, allocations: 4 kB / 403.3 MB, free: 34.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.2939, allocations: 39.92 kB / 403.4 MB, free: 34.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.2943, allocations: 300.8 kB / 403.6 MB, free: 34.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.2946, allocations: 110.5 kB / 403.8 MB, free: 33.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.2947, allocations: 36.84 kB / 403.8 MB, free: 33.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.2947, allocations: 4 kB / 403.8 MB, free: 33.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.2947, allocations: 34.56 kB / 403.8 MB, free: 33.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.2947, allocations: 0 / 403.8 MB, free: 33.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003005/0.2977, allocations: 0.868 MB / 404.7 MB, free: 32.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.2978, allocations: 51.41 kB / 404.7 MB, free: 32.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.2978, allocations: 113.8 kB / 404.9 MB, free: 32.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2979, allocations: 29.7 kB / 404.9 MB, free: 32.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.2979, allocations: 87.91 kB / 405 MB, free: 32.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2979, allocations: 59.19 kB / 405 MB, free: 32.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.298, allocations: 33.72 kB / 405.1 MB, free: 32.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.2981, allocations: 322.8 kB / 405.4 MB, free: 32.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.2981, allocations: 43.98 kB / 405.4 MB, free: 32.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/0.2982, allocations: 65.62 kB / 405.5 MB, free: 32.13 MB / 302.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.002236/0.3004, allocations: 472 kB / 405.9 MB, free: 31.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3004, allocations: 0 / 405.9 MB, free: 31.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001322/0.3018, allocations: 328.3 kB / 406.3 MB, free: 31.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3018, allocations: 8 kB / 406.3 MB, free: 31.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3018, allocations: 0 / 406.3 MB, free: 31.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.3034, allocations: 268.5 kB / 406.5 MB, free: 31.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.3035, allocations: 23.98 kB / 406.6 MB, free: 31.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.3063, allocations: 1.934 MB / 408.5 MB, free: 28.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.3064, allocations: 12.06 kB / 408.5 MB, free: 28.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3064, allocations: 4 kB / 408.5 MB, free: 28.95 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $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.0001635/0.3065, allocations: 117.8 kB / 408.6 MB, free: 28.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.3066, allocations: 11.84 kB / 408.6 MB, free: 28.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.3066, allocations: 16.5 kB / 408.7 MB, free: 28.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3066, allocations: 3.938 kB / 408.7 MB, free: 28.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3067, allocations: 4 kB / 408.7 MB, free: 28.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3067, allocations: 288 / 408.7 MB, free: 28.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3068, allocations: 201.6 kB / 408.9 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3068, allocations: 3.938 kB / 408.9 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.3069, allocations: 11.94 kB / 408.9 MB, free: 28.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.3086, allocations: 284.4 kB / 409.1 MB, free: 28.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3086, allocations: 3.938 kB / 409.2 MB, free: 28.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.3104, allocations: 1.944 MB / 411.1 MB, free: 26.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3104, allocations: 4 kB / 411.1 MB, free: 26.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009579/0.3114, allocations: 404.1 kB / 411.5 MB, free: 25.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.3114, allocations: 85 kB / 411.6 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3114, allocations: 7.938 kB / 411.6 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3116, allocations: 4 kB / 411.6 MB, free: 25.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3116, allocations: 7.984 kB / 411.6 MB, free: 25.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3116, allocations: 15.98 kB / 411.6 MB, free: 25.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.442e-05/0.3116, allocations: 83.28 kB / 411.7 MB, free: 25.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3117, allocations: 0 / 411.7 MB, free: 25.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.312, allocations: 36 kB / 411.7 MB, free: 25.48 MB / 302.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 9.651e-05/0.3121, allocations: 104.4 kB / 411.8 MB, free: 25.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.3128, allocations: 337.6 kB / 412.2 MB, free: 25.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3128, allocations: 0 / 412.2 MB, free: 25.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.3131, allocations: 222.5 kB / 412.4 MB, free: 24.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3133, allocations: 8.703 kB / 412.4 MB, free: 24.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.3137, allocations: 257 kB / 412.6 MB, free: 24.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.3139, allocations: 0.7084 MB / 413.3 MB, free: 23.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.3139, allocations: 11.44 kB / 413.4 MB, free: 23.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3139, allocations: 0 / 413.4 MB, free: 23.77 MB / 302.1 MB Notification: Performance of Templates: time 0.003311/0.3173, allocations: 1.647 MB / 415 MB, free: 22.13 MB / 302.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)