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.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001203/0.001204, allocations: 195.4 kB / 16.14 MB, free: 6.707 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.635/1.635, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.002974/0.002974, allocations: 0.5624 MB / 290.5 MB, free: 1.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 59.89 kB / 350.9 MB, free: 2.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 49.6 MB / 400.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.002413/0.1383, allocations: 0.6336 MB / 401.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.1386, allocations: 51.73 kB / 401.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.1386, allocations: 0 / 401.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1387, allocations: 3.938 kB / 401.2 MB, free: 484 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1388, allocations: 7.938 kB / 401.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.1389, allocations: 11.98 kB / 401.2 MB, free: 464 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.139, allocations: 43.91 kB / 401.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.791e-05/0.1391, allocations: 4 kB / 401.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.1391, allocations: 23.91 kB / 401.2 MB, free: 392 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.1392, allocations: 31.84 kB / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1393, allocations: 4 kB / 401.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.1393, allocations: 4 kB / 401.3 MB, free: 352 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.1393, allocations: 11.92 kB / 401.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.1394, allocations: 27.86 kB / 401.3 MB, free: 312 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.746e-05/0.1395, allocations: 27.81 kB / 401.4 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1395, allocations: 4 kB / 401.4 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1395, allocations: 0 / 401.4 MB, free: 280 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1395, allocations: 4 kB / 401.4 MB, free: 276 kB / 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.305/0.4445, allocations: 366.3 kB / 401.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.4446, allocations: 9.797 kB / 401.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.4447, allocations: 8.438 kB / 401.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.4448, allocations: 173.3 kB / 401.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4448, allocations: 9.625 kB / 401.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.4449, allocations: 9.141 kB / 401.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4451, allocations: 67.38 kB / 402 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4451, allocations: 192 / 402 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.4451, allocations: 6.812 kB / 402 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4451, allocations: 2.438 kB / 402 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.4452, allocations: 39.66 kB / 402 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.4459, allocations: 309 kB / 402.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.4462, allocations: 119.4 kB / 402.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/0.4463, allocations: 35.52 kB / 402.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.4463, allocations: 1.359 kB / 402.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4464, allocations: 36.16 kB / 402.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.4464, allocations: 3.938 kB / 402.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003992/0.4504, allocations: 0.8454 MB / 403.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.4505, allocations: 52.62 kB / 403.4 MB, free: 10.26 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4506, allocations: 108.4 kB / 403.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4506, allocations: 31.11 kB / 403.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.4507, allocations: 99.48 kB / 403.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.4507, allocations: 57.19 kB / 403.7 MB, free: 9.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.4508, allocations: 31.34 kB / 403.7 MB, free: 9.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4509, allocations: 327.1 kB / 404.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.4511, allocations: 42.61 kB / 404.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4512, allocations: 60.22 kB / 404.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.4515, allocations: 102.7 kB / 404.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4515, allocations: 0 / 404.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0011/0.4526, allocations: 272 kB / 404.5 MB, free: 9.426 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4526, allocations: 4.562 kB / 404.5 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4526, allocations: 0 / 404.5 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4537, allocations: 153.7 kB / 404.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.4538, allocations: 16.39 kB / 404.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.4562, allocations: 1.74 MB / 406.4 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.4563, allocations: 7.891 kB / 406.5 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.4563, allocations: 3.375 kB / 406.5 MB, free: 7.867 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 0.0001155/0.4565, allocations: 118.5 kB / 406.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.4565, allocations: 7.719 kB / 406.6 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.4566, allocations: 27.45 kB / 406.6 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4566, allocations: 3.094 kB / 406.6 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.4566, allocations: 2.125 kB / 406.6 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4566, allocations: 3.141 kB / 406.6 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.4569, allocations: 204.5 kB / 406.8 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4569, allocations: 0 / 406.8 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.457, allocations: 9.953 kB / 406.8 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.459, allocations: 277.1 kB / 407.1 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.459, allocations: 9.297 kB / 407.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.4611, allocations: 1.741 MB / 408.8 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4612, allocations: 6.656 kB / 408.9 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4623, allocations: 405 kB / 409.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.4624, allocations: 84.91 kB / 409.3 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4624, allocations: 5.094 kB / 409.3 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4625, allocations: 5.797 kB / 409.3 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.4626, allocations: 11.33 kB / 409.4 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4626, allocations: 8.125 kB / 409.4 MB, free: 5.605 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.284e-05/0.4626, allocations: 87.27 kB / 409.4 MB, free: 5.527 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4627, allocations: 0 / 409.4 MB, free: 5.527 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.463, allocations: 35.19 kB / 409.5 MB, free: 5.52 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 0.0001147/0.4632, allocations: 97.05 kB / 409.6 MB, free: 5.426 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.4638, allocations: 284.9 kB / 409.9 MB, free: 5.246 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4638, allocations: 1.125 kB / 409.9 MB, free: 5.246 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.4641, allocations: 222.3 kB / 410.1 MB, free: 5.094 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.4644, allocations: 7.703 kB / 410.1 MB, free: 5.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.4649, allocations: 267.9 kB / 410.3 MB, free: 4.887 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.4652, allocations: 0.7001 MB / 411 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.4652, allocations: 5.031 kB / 411 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.4653, allocations: 11.5 kB / 411.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4653, allocations: 0 / 411.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of Templates: time 0.007905/0.4732, allocations: 1.677 MB / 412.7 MB, free: 4.078 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)