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.001009/0.001009, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001248/0.001248, allocations: 193.7 kB / 16.14 MB, free: 6.66 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.639/1.639, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.005765/0.005765, allocations: 0.5663 MB / 290.5 MB, free: 1.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 64.08 kB / 350.9 MB, free: 2.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.138, allocations: 49.59 MB / 400.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002612/0.1407, allocations: 0.63 MB / 401.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.141, allocations: 51.8 kB / 401.1 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.1411, allocations: 0 / 401.1 MB, free: 468 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.1411, allocations: 3.938 kB / 401.1 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1412, allocations: 7.938 kB / 401.2 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.1414, allocations: 15.97 kB / 401.2 MB, free: 440 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.1415, allocations: 51.84 kB / 401.2 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.1415, allocations: 0 / 401.2 MB, free: 388 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.1416, allocations: 27.86 kB / 401.2 MB, free: 360 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.1417, allocations: 27.84 kB / 401.3 MB, free: 332 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1417, allocations: 4 kB / 401.3 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.1417, allocations: 4 kB / 401.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.1418, allocations: 11.98 kB / 401.3 MB, free: 312 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.1418, allocations: 27.84 kB / 401.3 MB, free: 284 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.1419, allocations: 27.83 kB / 401.3 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1419, allocations: 0 / 401.3 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1419, allocations: 0 / 401.3 MB, free: 256 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.1419, allocations: 4 kB / 401.4 MB, free: 252 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.3051/0.447, allocations: 369.6 kB / 401.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4471, allocations: 9.578 kB / 401.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4471, allocations: 8.625 kB / 401.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.4473, allocations: 172.8 kB / 401.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.4473, allocations: 6.156 kB / 401.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.4473, allocations: 7.938 kB / 401.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.4475, allocations: 72.03 kB / 402 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4476, allocations: 192 / 402 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4476, allocations: 5.531 kB / 402 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4476, allocations: 2.031 kB / 402 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4477, allocations: 37.62 kB / 402 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.4482, allocations: 322.4 kB / 402.3 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.4486, allocations: 126.4 kB / 402.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.4487, allocations: 40.06 kB / 402.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.4487, allocations: 2.094 kB / 402.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.4488, allocations: 31.95 kB / 402.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.4488, allocations: 0 / 402.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.004071/0.4528, allocations: 0.9317 MB / 403.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.4529, allocations: 53.72 kB / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.453, allocations: 109.7 kB / 403.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.453, allocations: 29.83 kB / 403.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.453, allocations: 86.16 kB / 403.7 MB, free: 9.598 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.4531, allocations: 65.77 kB / 403.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.4532, allocations: 39.78 kB / 403.8 MB, free: 9.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.4532, allocations: 322.2 kB / 404.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.4533, allocations: 45.61 kB / 404.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4535, allocations: 68.16 kB / 404.3 MB, free: 9.203 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.4564, allocations: 0.5678 MB / 404.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4564, allocations: 4 kB / 404.8 MB, free: 9.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00103/0.4575, allocations: 278.2 kB / 405.1 MB, free: 8.965 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4575, allocations: 4.562 kB / 405.1 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4575, allocations: 5.734 kB / 405.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009655/0.4585, allocations: 156.4 kB / 405.3 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.4586, allocations: 22.02 kB / 405.3 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.4612, allocations: 1.79 MB / 407.1 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.4613, allocations: 6.875 kB / 407.1 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.4613, allocations: 4.031 kB / 407.1 MB, free: 7.391 MB / 286.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.0002284/0.4616, allocations: 130.3 kB / 407.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.4616, allocations: 12.91 kB / 407.2 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.4617, allocations: 19.55 kB / 407.3 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4617, allocations: 5.75 kB / 407.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.4617, allocations: 2.453 kB / 407.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4617, allocations: 0.7031 kB / 407.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.4632, allocations: 0.5683 MB / 407.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4632, allocations: 0 / 407.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.4633, allocations: 16.05 kB / 407.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.4653, allocations: 290.4 kB / 408.1 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4653, allocations: 6.078 kB / 408.1 MB, free: 6.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.4677, allocations: 1.781 MB / 409.9 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4678, allocations: 1.031 kB / 409.9 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.469, allocations: 442.1 kB / 410.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.4691, allocations: 85.28 kB / 410.4 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.4691, allocations: 3.609 kB / 410.4 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4692, allocations: 5.062 kB / 410.4 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.4693, allocations: 15.98 kB / 410.5 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4693, allocations: 8.25 kB / 410.5 MB, free: 4.902 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.4694, allocations: 92.36 kB / 410.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4694, allocations: 0 / 410.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000416/0.4698, allocations: 30.25 kB / 410.6 MB, free: 4.816 MB / 286.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 0.0001422/0.4699, allocations: 97.98 kB / 410.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.4709, allocations: 311.3 kB / 411 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4709, allocations: 192 / 411 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.4715, allocations: 258.1 kB / 411.2 MB, free: 4.387 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4717, allocations: 15.97 kB / 411.3 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.4722, allocations: 286 kB / 411.5 MB, free: 4.156 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.4724, allocations: 0.7013 MB / 412.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.4725, allocations: 9.75 kB / 412.2 MB, free: 3.457 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.4725, allocations: 11.78 kB / 412.3 MB, free: 3.449 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4725, allocations: 0 / 412.3 MB, free: 3.449 MB / 286.1 MB Notification: Performance of Templates: time 0.005205/0.4777, allocations: 1.679 MB / 413.9 MB, free: 3.355 MB / 286.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)