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.00154/0.00154, allocations: 100.1 kB / 15.88 MB, free: 12 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.001861/0.001861, allocations: 199.4 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.197/2.197, allocations: 222.9 MB / 240.5 MB, free: 4.527 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.005915/0.005915, allocations: 0.5546 MB / 291.2 MB, free: 1.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 63.91 kB / 351.5 MB, free: 2.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.16, allocations: 49.59 MB / 401.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002907/0.163, allocations: 0.6339 MB / 401.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.1634, allocations: 51.75 kB / 401.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.1634, allocations: 0 / 401.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.1635, allocations: 0 / 401.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1636, allocations: 7.922 kB / 401.8 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.1638, allocations: 15.98 kB / 401.8 MB, free: 428 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1639, allocations: 51.83 kB / 401.9 MB, free: 376 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.157e-05/0.164, allocations: 4 kB / 401.9 MB, free: 372 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.1641, allocations: 19.92 kB / 401.9 MB, free: 352 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1642, allocations: 31.84 kB / 401.9 MB, free: 320 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.1642, allocations: 4 kB / 401.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.1642, allocations: 4 kB / 401.9 MB, free: 312 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.1643, allocations: 7.984 kB / 401.9 MB, free: 304 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.1643, allocations: 23.86 kB / 402 MB, free: 280 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.041e-05/0.1644, allocations: 19.89 kB / 402 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1644, allocations: 0 / 402 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1645, allocations: 0 / 402 MB, free: 260 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1645, allocations: 4 kB / 402 MB, free: 256 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.2666/0.4311, allocations: 371 kB / 402.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.4312, allocations: 9.922 kB / 402.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.4312, allocations: 12.84 kB / 402.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.4314, allocations: 178.5 kB / 402.6 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.4314, allocations: 6.938 kB / 402.6 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.4315, allocations: 8.812 kB / 402.6 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.4317, allocations: 68.89 kB / 402.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4317, allocations: 192 / 402.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4318, allocations: 8.797 kB / 402.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4318, allocations: 1.906 kB / 402.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.4319, allocations: 36.31 kB / 402.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.4327, allocations: 311.4 kB / 403 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.4332, allocations: 129.4 kB / 403.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.4333, allocations: 36.94 kB / 403.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.4334, allocations: 1.188 kB / 403.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.4334, allocations: 36.7 kB / 403.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/0.4334, allocations: 0 / 403.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.006496/0.4399, allocations: 0.9299 MB / 404.1 MB, free: 9.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.44, allocations: 54.44 kB / 404.2 MB, free: 9.809 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4401, allocations: 113.6 kB / 404.3 MB, free: 9.707 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4402, allocations: 29.8 kB / 404.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.4402, allocations: 82.42 kB / 404.4 MB, free: 9.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.4403, allocations: 62.19 kB / 404.4 MB, free: 9.551 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.4404, allocations: 43.89 kB / 404.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.4405, allocations: 323.3 kB / 404.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.4406, allocations: 41.52 kB / 404.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.4408, allocations: 71.69 kB / 404.9 MB, free: 9.199 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004823/0.4457, allocations: 0.5653 MB / 405.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4457, allocations: 0 / 405.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001732/0.4475, allocations: 283.5 kB / 405.8 MB, free: 8.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.4475, allocations: 5.422 kB / 405.8 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4475, allocations: 2.125 kB / 405.8 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.4491, allocations: 160.5 kB / 405.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.4493, allocations: 16.66 kB / 405.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/0.4534, allocations: 1.794 MB / 407.7 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.4536, allocations: 1.875 kB / 407.7 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.4537, allocations: 8 kB / 407.7 MB, free: 7.379 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.000261/0.4539, allocations: 127.2 kB / 407.9 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.454, allocations: 11.94 kB / 407.9 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.4541, allocations: 23 kB / 407.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4541, allocations: 1.438 kB / 407.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.4542, allocations: 2.953 kB / 407.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4542, allocations: 0.5156 kB / 407.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.4566, allocations: 0.5626 MB / 408.5 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4566, allocations: 7.688 kB / 408.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.4567, allocations: 18.8 kB / 408.5 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003786/0.4605, allocations: 282.3 kB / 408.8 MB, free: 6.785 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.4606, allocations: 5.969 kB / 408.8 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/0.4648, allocations: 1.789 MB / 410.6 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.4649, allocations: 8.031 kB / 410.6 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.4668, allocations: 434.5 kB / 411 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.4669, allocations: 84.56 kB / 411.1 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.4669, allocations: 7.453 kB / 411.1 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.4671, allocations: 4.781 kB / 411.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.4673, allocations: 13.2 kB / 411.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.4673, allocations: 4.734 kB / 411.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.4674, allocations: 89.75 kB / 411.2 MB, free: 4.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4674, allocations: 5.188 kB / 411.2 MB, free: 4.816 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007137/0.4681, allocations: 37.72 kB / 411.2 MB, free: 4.805 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.0001302/0.4683, allocations: 93.36 kB / 411.3 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.4697, allocations: 317.8 kB / 411.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4697, allocations: 1.125 kB / 411.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.4708, allocations: 255.5 kB / 411.9 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.4713, allocations: 15.83 kB / 411.9 MB, free: 4.363 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.472, allocations: 300.2 kB / 412.2 MB, free: 4.121 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.4722, allocations: 0.7067 MB / 412.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.4723, allocations: 11.97 kB / 412.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4723, allocations: 0 / 412.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of Templates: time 0.006394/0.4787, allocations: 1.605 MB / 414.5 MB, free: 3.344 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)