Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009816/0.0009816, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9765/0.9765, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002379/0.002379, allocations: 431.1 kB / 261.5 MB, free: 12.47 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 331.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.677e-05, allocations: 8.422 kB / 331.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.2834/0.2834, allocations: 146.7 MB / 478 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003999/0.2874, allocations: 2.783 MB / 480.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007364/0.2882, allocations: 30.5 kB / 480.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.2888, allocations: 260.1 kB / 481.1 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2911, allocations: 1.207 MB / 482.3 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.2928, allocations: 1.011 MB / 483.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.2951, allocations: 2.47 MB / 485.8 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007364/0.2959, allocations: 0.5466 MB / 486.3 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.2975, allocations: 1.219 MB / 487.5 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009884/0.2985, allocations: 0.7116 MB / 488.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.2986, allocations: 78.09 kB / 488.3 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.2998, allocations: 0.5372 MB / 488.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.3001, allocations: 356.6 kB / 489.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004745/0.3005, allocations: 357.8 kB / 489.6 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.3024, allocations: 1.22 MB / 490.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3024, allocations: 3 kB / 490.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3024, allocations: 0 / 490.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.076e-05/0.3024, allocations: 0 / 490.8 MB, free: 43.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002034/0.3045, allocations: 1.296 MB / 492.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3045, allocations: 9.219 kB / 492.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/0.3055, allocations: 292.9 kB / 492.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.3062, allocations: 0.5125 MB / 492.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3063, allocations: 290.8 kB / 493.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3065, allocations: 79.3 kB / 493.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.3074, allocations: 1.247 MB / 494.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.3075, allocations: 5.156 kB / 494.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.161e-05/0.3076, allocations: 44.03 kB / 494.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.3076, allocations: 31.5 kB / 494.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.3081, allocations: 340.5 kB / 494.9 MB, free: 41.06 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.3114, allocations: 5.429 MB / 0.4886 GB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.3118, allocations: 251.3 kB / 0.4888 GB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3119, allocations: 114.4 kB / 0.489 GB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.312, allocations: 41.64 kB / 0.489 GB, free: 36.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3121, allocations: 45.02 kB / 0.489 GB, free: 36.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 4.418e-06/0.3121, allocations: 0 / 0.489 GB, free: 36.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.003838/0.3159, allocations: 1.444 MB / 0.4904 GB, free: 36.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.316, allocations: 109.5 kB / 0.4906 GB, free: 36.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.3164, allocations: 0.6428 MB / 0.4912 GB, free: 35.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.3165, allocations: 39.14 kB / 0.4912 GB, free: 35.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.3167, allocations: 0.5252 MB / 0.4917 GB, free: 35.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.3168, allocations: 217.3 kB / 0.4919 GB, free: 35.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.3171, allocations: 246.2 kB / 0.4922 GB, free: 35.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3172, allocations: 0.569 MB / 0.4927 GB, free: 34.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.3175, allocations: 110.5 kB / 0.4928 GB, free: 34.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.3181, allocations: 0.878 MB / 0.4937 GB, free: 33.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3191, allocations: 1.14 MB / 0.4948 GB, free: 33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.3191, allocations: 3.312 kB / 0.4948 GB, free: 33 MB / 410.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001358/0.3205, allocations: 0.9052 MB / 0.4957 GB, free: 32.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3205, allocations: 14.94 kB / 0.4957 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.3205, allocations: 16.78 kB / 0.4957 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3217, allocations: 369.9 kB / 0.4961 GB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.3221, allocations: 186.9 kB / 0.4963 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007217/0.3228, allocations: 1.114 MB / 0.4973 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.3233, allocations: 35.66 kB / 0.4974 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.3234, allocations: 84.84 kB / 0.4975 GB, free: 31.91 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.V2.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.inFlow[1],V1.inFlow[2],V2.inFlow[1],V2.inFlow[2],V2.regularFlow[2],V2.regularFlow[1],V1.regularFlow[2],V1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 {(3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.3237, allocations: 242 kB / 0.4977 GB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3238, allocations: 93.72 kB / 0.4978 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.3251, allocations: 0.913 MB / 0.4987 GB, free: 31.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3251, allocations: 5.156 kB / 0.4987 GB, free: 31.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3251, allocations: 3.984 kB / 0.4987 GB, free: 31.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3251, allocations: 2.906 kB / 0.4987 GB, free: 31.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.3267, allocations: 1.124 MB / 0.4998 GB, free: 30.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3267, allocations: 5.344 kB / 0.4998 GB, free: 30.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/0.3299, allocations: 82.42 kB / 0.4999 GB, free: 30.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007951/0.3307, allocations: 234.2 kB / 0.5001 GB, free: 30.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.3308, allocations: 28.11 kB / 0.5001 GB, free: 30.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004516/0.3312, allocations: 0.9358 MB / 0.501 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3312, allocations: 5.219 kB / 0.501 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.3322, allocations: 0.7768 MB / 0.5018 GB, free: 29.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.3324, allocations: 118.1 kB / 0.5019 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.3325, allocations: 13.5 kB / 0.5019 GB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.3328, allocations: 18.44 kB / 0.5019 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.3328, allocations: 53.64 kB / 0.502 GB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.3329, allocations: 52.48 kB / 0.502 GB, free: 29.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.3331, allocations: 365.2 kB / 0.5024 GB, free: 29.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3331, allocations: 0 / 0.5024 GB, free: 29.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009581/0.3341, allocations: 315.9 kB / 0.5027 GB, free: 29.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (41): * Single equations (assignments): 40 * 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005134/0.3346, allocations: 300.7 kB / 0.503 GB, free: 29.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.3354, allocations: 0.5292 MB / 0.5035 GB, free: 29.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3354, allocations: 0.8125 kB / 0.5035 GB, free: 29.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003398/0.3388, allocations: 232.9 kB / 0.5037 GB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3399, allocations: 389.5 kB / 0.5041 GB, free: 29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.3448, allocations: 1.341 MB / 0.5054 GB, free: 28.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.3449, allocations: 189.9 kB / 0.5056 GB, free: 28.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007124/0.3457, allocations: 459.7 kB / 0.506 GB, free: 28.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/0.3463, allocations: 429.6 kB / 0.5064 GB, free: 27.96 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3463, allocations: 0 / 0.5064 GB, free: 27.96 MB / 410.7 MB Notification: Performance of Templates: time 0.04294/0.3893, allocations: 20.41 MB / 0.5263 GB, free: 22.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6689087976701558]