Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009618, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.3 MB / 240 MB, free: 5.434 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.004553/0.004553, allocations: 0.5469 MB / 291.6 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8 kB / 352.7 MB, free: 2.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 50.58 MB / 403.3 MB, free: 236 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.3127/0.4527, allocations: 285.9 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.453, allocations: 44.89 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.4531, allocations: 3.828 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.4531, allocations: 3.938 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.4532, allocations: 5.797 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.4533, allocations: 19.06 kB / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.4535, allocations: 42.17 kB / 403.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.4536, allocations: 3.594 kB / 403.7 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.4536, allocations: 24.27 kB / 403.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.4537, allocations: 25.08 kB / 403.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.4538, allocations: 7.844 kB / 403.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.4538, allocations: 3.344 kB / 403.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.4538, allocations: 12.09 kB / 403.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.4539, allocations: 36.02 kB / 403.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.219e-05/0.454, allocations: 15.94 kB / 403.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.454, allocations: 4.891 kB / 403.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.454, allocations: 4 kB / 403.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.454, allocations: 0 / 403.8 MB, free: 9.73 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.0005416/0.4546, allocations: 363.2 kB / 404.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.4546, allocations: 9.031 kB / 404.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.4547, allocations: 8.281 kB / 404.2 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4548, allocations: 170.1 kB / 404.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.4549, allocations: 10.67 kB / 404.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.4549, allocations: 8.906 kB / 404.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.4551, allocations: 70.62 kB / 404.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4551, allocations: 4.562 kB / 404.4 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.4552, allocations: 3.125 kB / 404.4 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4552, allocations: 1.625 kB / 404.4 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4553, allocations: 41.56 kB / 404.5 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.4559, allocations: 299.7 kB / 404.7 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.4563, allocations: 128.1 kB / 404.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.4564, allocations: 39.53 kB / 404.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.4564, allocations: 2.031 kB / 404.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4565, allocations: 31.81 kB / 404.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.4565, allocations: 5.031 kB / 405 MB, free: 8.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002929/0.4594, allocations: 0.7927 MB / 405.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.4595, allocations: 57.88 kB / 405.8 MB, free: 8.406 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.4596, allocations: 106.9 kB / 405.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4596, allocations: 32.58 kB / 405.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.4596, allocations: 91.53 kB / 406 MB, free: 8.184 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.4597, allocations: 62.88 kB / 406.1 MB, free: 8.145 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.4597, allocations: 0.875 kB / 406.1 MB, free: 8.145 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4599, allocations: 325.6 kB / 406.4 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/0.46, allocations: 41.2 kB / 406.4 MB, free: 7.828 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4601, allocations: 69.88 kB / 406.5 MB, free: 7.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.4628, allocations: 487.5 kB / 407 MB, free: 7.699 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4628, allocations: 0 / 407 MB, free: 7.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001661/0.4645, allocations: 375.4 kB / 407.4 MB, free: 7.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4645, allocations: 5.312 kB / 407.4 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4646, allocations: 1 kB / 407.4 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.4664, allocations: 292.2 kB / 407.6 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.4664, allocations: 9.672 kB / 407.7 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.4704, allocations: 2.148 MB / 409.8 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.4706, allocations: 4.516 kB / 409.8 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.4706, allocations: 7.344 kB / 409.8 MB, free: 6.211 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 sytem: $DER.p1 = 0.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.4708, allocations: 119.4 kB / 409.9 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.4708, allocations: 8.188 kB / 409.9 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.4709, allocations: 19.31 kB / 410 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4709, allocations: 2.094 kB / 410 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.4709, allocations: 11.2 kB / 410 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4709, allocations: 4.656 kB / 410 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.4723, allocations: 0.5743 MB / 410.6 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4723, allocations: 1.125 kB / 410.6 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.4724, allocations: 11.05 kB / 410.6 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.4744, allocations: 320.7 kB / 410.9 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4744, allocations: 2.219 kB / 410.9 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.4768, allocations: 1.805 MB / 412.7 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4769, allocations: 0.6562 kB / 412.7 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.478, allocations: 437.3 kB / 413.1 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.4781, allocations: 84.17 kB / 413.2 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.4781, allocations: 6.125 kB / 413.2 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4782, allocations: 6.969 kB / 413.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.4783, allocations: 17.69 kB / 413.2 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4783, allocations: 7.812 kB / 413.2 MB, free: 3.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.4784, allocations: 88.17 kB / 413.3 MB, free: 3.672 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4784, allocations: 0 / 413.3 MB, free: 3.672 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000643/0.479, allocations: 40.38 kB / 413.4 MB, free: 3.664 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.4792, allocations: 100.4 kB / 413.5 MB, free: 3.57 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.4803, allocations: 310.4 kB / 413.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4803, allocations: 0 / 413.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.4809, allocations: 260.5 kB / 414 MB, free: 3.227 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.4812, allocations: 7.766 kB / 414 MB, free: 3.223 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.4816, allocations: 288.5 kB / 414.3 MB, free: 3.008 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.4818, allocations: 0.7071 MB / 415 MB, free: 2.309 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.942e-05/0.4819, allocations: 5.469 kB / 415 MB, free: 2.309 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.4819, allocations: 10.66 kB / 415 MB, free: 2.301 MB / 286.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4819, allocations: 1 kB / 415 MB, free: 2.301 MB / 286.1 MB Notification: Performance of Templates: time 0.006361/0.4883, allocations: 2.31 MB / 417.3 MB, free: 2.164 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)