Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.TwoVolumesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 99.5 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.0009788/0.0009789, allocations: 180.9 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.266 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.00275/0.00275, allocations: 0.55 MB / 292.6 MB, free: 1.508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 12.23 kB / 353.9 MB, free: 2.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3705, allocations: 50.56 MB / 404.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.0008345/0.3714, allocations: 308.9 kB / 404.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.3716, allocations: 47.75 kB / 404.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.3717, allocations: 1.156 kB / 404.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.3717, allocations: 4.438 kB / 404.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.3718, allocations: 6.141 kB / 404.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.3719, allocations: 15.28 kB / 404.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.928e-05/0.372, allocations: 46.89 kB / 404.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.3721, allocations: 7.469 kB / 404.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.3722, allocations: 22.19 kB / 405 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.3722, allocations: 29.69 kB / 405 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3723, allocations: 3.344 kB / 405 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.3723, allocations: 3.625 kB / 405 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.3723, allocations: 16.28 kB / 405 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.3724, allocations: 47.64 kB / 405.1 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.957e-05/0.3725, allocations: 17.78 kB / 405.1 MB, free: 10.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3725, allocations: 1.625 kB / 405.1 MB, free: 10.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3725, allocations: 4.5 kB / 405.1 MB, free: 10.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3725, allocations: 0.5938 kB / 405.1 MB, free: 10.5 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.0004231/0.3729, allocations: 362.9 kB / 405.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.373, allocations: 9.875 kB / 405.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.373, allocations: 8.516 kB / 405.5 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3731, allocations: 175.3 kB / 405.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3732, allocations: 5.219 kB / 405.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3732, allocations: 11.59 kB / 405.6 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3734, allocations: 70.47 kB / 405.7 MB, free: 9.895 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3734, allocations: 0.6875 kB / 405.7 MB, free: 9.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3734, allocations: 8.312 kB / 405.7 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3734, allocations: 1.875 kB / 405.7 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3735, allocations: 37.02 kB / 405.8 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.374, allocations: 309.7 kB / 406.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.3743, allocations: 107 kB / 406.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.3744, allocations: 38.7 kB / 406.2 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3744, allocations: 1.75 kB / 406.2 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.3745, allocations: 33.31 kB / 406.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.3745, allocations: 4 kB / 406.2 MB, free: 9.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003435/0.3779, allocations: 0.8626 MB / 407.1 MB, free: 9.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3779, allocations: 60.62 kB / 407.2 MB, free: 9.168 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.378, allocations: 109.9 kB / 407.3 MB, free: 9.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3781, allocations: 28.39 kB / 407.3 MB, free: 9.039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.3781, allocations: 92.53 kB / 407.4 MB, free: 8.953 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.3781, allocations: 56.31 kB / 407.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3782, allocations: 24.14 kB / 407.5 MB, free: 8.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.3782, allocations: 324.2 kB / 407.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.3783, allocations: 37.2 kB / 407.8 MB, free: 8.566 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/0.3784, allocations: 66.22 kB / 407.9 MB, free: 8.531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3786, allocations: 107.7 kB / 408 MB, free: 8.473 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3786, allocations: 0 / 408 MB, free: 8.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001004/0.3796, allocations: 266.2 kB / 408.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3796, allocations: 9 kB / 408.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3796, allocations: 1.625 kB / 408.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.3809, allocations: 188.8 kB / 408.4 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.774e-05/0.381, allocations: 20.97 kB / 408.5 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.3832, allocations: 1.759 MB / 410.2 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.3833, allocations: 3.906 kB / 410.2 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3833, allocations: 7.188 kB / 410.2 MB, free: 6.789 MB / 286.1 MB 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 8.225e-05/0.3834, allocations: 115.8 kB / 410.3 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.3834, allocations: 7.031 kB / 410.4 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.3835, allocations: 23.48 kB / 410.4 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3835, allocations: 6.062 kB / 410.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3835, allocations: 1.031 kB / 410.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3835, allocations: 1.938 kB / 410.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.3837, allocations: 195.3 kB / 410.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3837, allocations: 0.875 kB / 410.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.3838, allocations: 14.5 kB / 410.6 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/0.386, allocations: 296.1 kB / 410.9 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.386, allocations: 10.86 kB / 410.9 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.388, allocations: 1.754 MB / 412.6 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.388, allocations: 1.531 kB / 412.6 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3891, allocations: 419.6 kB / 413.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.3892, allocations: 83.92 kB / 413.1 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3892, allocations: 1.703 kB / 413.1 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3893, allocations: 8.969 kB / 413.2 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.3894, allocations: 12.59 kB / 413.2 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3894, allocations: 8.453 kB / 413.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.3894, allocations: 91.89 kB / 413.3 MB, free: 4.453 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3894, allocations: 0 / 413.3 MB, free: 4.453 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.3898, allocations: 33.59 kB / 413.3 MB, free: 4.445 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.747e-05/0.39, allocations: 101.7 kB / 413.4 MB, free: 4.348 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.3905, allocations: 274.4 kB / 413.7 MB, free: 4.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3905, allocations: 0 / 413.7 MB, free: 4.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.3909, allocations: 223.4 kB / 413.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.3911, allocations: 11.11 kB / 413.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.3915, allocations: 294.1 kB / 414.2 MB, free: 3.789 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.3917, allocations: 0.6987 MB / 414.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.3917, allocations: 15.28 kB / 414.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3917, allocations: 0 / 414.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of Templates: time 0.004203/0.3959, allocations: 1.567 MB / 416.5 MB, free: 3.02 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)