Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 102.2 kB / 16.27 MB, free: 6 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.001513/0.001513, 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.466/1.466, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.003907/0.003907, allocations: 0.5716 MB / 291.6 MB, free: 14.26 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001522, allocations: 63.89 kB / 352.2 MB, free: 1.617 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.279, allocations: 49.59 MB / 401.8 MB, free: 36.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001926/0.281, allocations: 0.5765 MB / 402.4 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002087/0.2813, allocations: 51.8 kB / 402.4 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.2813, allocations: 0 / 402.4 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.2813, allocations: 3.938 kB / 402.4 MB, free: 35.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.366e-05/0.2814, allocations: 11.05 kB / 402.5 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.2815, allocations: 15.97 kB / 402.5 MB, free: 35.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.2816, allocations: 43.84 kB / 402.5 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.281e-05/0.2817, allocations: 4 kB / 402.5 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/0.2817, allocations: 19.92 kB / 402.5 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.2818, allocations: 31.84 kB / 402.6 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2818, allocations: 4 kB / 402.6 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.2818, allocations: 4 kB / 402.6 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.2819, allocations: 15.97 kB / 402.6 MB, free: 35.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.2819, allocations: 23.86 kB / 402.6 MB, free: 35.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.028e-05/0.282, allocations: 27.84 kB / 402.6 MB, free: 35.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.282, allocations: 0 / 402.6 MB, free: 35.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.282, allocations: 0 / 402.6 MB, free: 35.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.282, allocations: 3.984 kB / 402.7 MB, free: 35.2 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.000472/0.2825, allocations: 369.4 kB / 403 MB, free: 34.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2825, allocations: 15.89 kB / 403 MB, free: 34.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.2826, allocations: 12.83 kB / 403 MB, free: 34.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2827, allocations: 184.2 kB / 403.2 MB, free: 34.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2827, allocations: 384 / 403.2 MB, free: 34.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.2827, allocations: 12.38 kB / 403.2 MB, free: 34.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.2829, allocations: 69.86 kB / 403.3 MB, free: 34.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2829, allocations: 4.188 kB / 403.3 MB, free: 34.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2829, allocations: 3.938 kB / 403.3 MB, free: 34.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2829, allocations: 0 / 403.3 MB, free: 34.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.283, allocations: 47.91 kB / 403.4 MB, free: 34.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.2834, allocations: 308.8 kB / 403.7 MB, free: 34.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.2837, allocations: 122.6 kB / 403.8 MB, free: 33.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.2838, allocations: 36.86 kB / 403.8 MB, free: 33.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2838, allocations: 7.984 kB / 403.8 MB, free: 33.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.2838, allocations: 34.56 kB / 403.9 MB, free: 33.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2838, allocations: 0 / 403.9 MB, free: 33.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.003142/0.287, allocations: 0.9257 MB / 404.8 MB, free: 32.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.287, allocations: 51.41 kB / 404.8 MB, free: 32.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.2871, allocations: 109.8 kB / 404.9 MB, free: 32.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2871, allocations: 29.7 kB / 405 MB, free: 32.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.2871, allocations: 96.39 kB / 405.1 MB, free: 32.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.2872, allocations: 59.11 kB / 405.1 MB, free: 32.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.2872, allocations: 41.64 kB / 405.2 MB, free: 32.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.2873, allocations: 322.8 kB / 405.5 MB, free: 32.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.2873, allocations: 39.98 kB / 405.5 MB, free: 32.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.2874, allocations: 63.75 kB / 405.6 MB, free: 32.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.2899, allocations: 0.5651 MB / 406.1 MB, free: 31.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2899, allocations: 0 / 406.1 MB, free: 31.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008306/0.2907, allocations: 286 kB / 406.4 MB, free: 31.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2908, allocations: 4 kB / 406.4 MB, free: 31.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2908, allocations: 0 / 406.4 MB, free: 31.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008594/0.2916, allocations: 152.7 kB / 406.6 MB, free: 30.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.2917, allocations: 23.92 kB / 406.6 MB, free: 30.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.2939, allocations: 1.978 MB / 408.6 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.294, allocations: 0 / 408.6 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.294, allocations: 12 kB / 408.6 MB, free: 28.82 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: 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.0001677/0.2942, allocations: 126 kB / 408.7 MB, free: 28.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.2942, allocations: 11.95 kB / 408.7 MB, free: 28.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.2943, allocations: 29.06 kB / 408.7 MB, free: 28.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2943, allocations: 0 / 408.7 MB, free: 28.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2943, allocations: 7.938 kB / 408.8 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2943, allocations: 0 / 408.8 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.2955, allocations: 0.5668 MB / 409.3 MB, free: 28.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2955, allocations: 4.031 kB / 409.3 MB, free: 28.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.2955, allocations: 16 kB / 409.3 MB, free: 27.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.2973, allocations: 276.4 kB / 409.6 MB, free: 27.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2974, allocations: 11.98 kB / 409.6 MB, free: 27.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.2994, allocations: 1.979 MB / 411.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2994, allocations: 0 / 411.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.3004, allocations: 438.3 kB / 412 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.3004, allocations: 89.05 kB / 412.1 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3004, allocations: 4 kB / 412.1 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3005, allocations: 4 kB / 412.1 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.3006, allocations: 15.92 kB / 412.1 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3006, allocations: 7.984 kB / 412.1 MB, free: 25.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.3006, allocations: 87.28 kB / 412.2 MB, free: 24.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3006, allocations: 3.938 kB / 412.2 MB, free: 24.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.301, allocations: 28 kB / 412.3 MB, free: 24.89 MB / 302.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 9.715e-05/0.3011, allocations: 103.2 kB / 412.4 MB, free: 24.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007179/0.3018, allocations: 318.8 kB / 412.7 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3018, allocations: 0 / 412.7 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.3023, allocations: 258.3 kB / 412.9 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.3026, allocations: 20 kB / 412.9 MB, free: 24.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.303, allocations: 274.9 kB / 413.2 MB, free: 23.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3031, allocations: 0.7085 MB / 413.9 MB, free: 23.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.3032, allocations: 11.44 kB / 413.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.3032, allocations: 3.938 kB / 413.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of Templates: time 0.003042/0.3062, allocations: 1.623 MB / 415.6 MB, free: 21.5 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)