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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009249, allocations: 104.7 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002555/0.002555, allocations: 0.5557 MB / 340.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 54.52 kB / 400.9 MB, free: 66.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08592, allocations: 49.6 MB / 450.5 MB, free: 16.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001646/0.08761, allocations: 0.6245 MB / 451.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001807/0.0878, allocations: 51.8 kB / 451.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.08784, allocations: 0 / 451.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.08788, allocations: 7.938 kB / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/0.08797, allocations: 3.984 kB / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.002e-05/0.08807, allocations: 19.97 kB / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.739e-05/0.08814, allocations: 47.84 kB / 451.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/0.08821, allocations: 0 / 451.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.08825, allocations: 23.92 kB / 451.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.08832, allocations: 35.83 kB / 451.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.08834, allocations: 4 kB / 451.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.08836, allocations: 3.938 kB / 451.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.08838, allocations: 11.98 kB / 451.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.08842, allocations: 31.8 kB / 451.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.71e-05/0.08848, allocations: 27.83 kB / 451.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.08849, allocations: 3.984 kB / 451.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0885, allocations: 4 kB / 451.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.08851, allocations: 0 / 451.4 MB, free: 15.61 MB / 298.7 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.0004256/0.08894, allocations: 371.6 kB / 451.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.08898, allocations: 12.03 kB / 451.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.08901, allocations: 8.938 kB / 451.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/0.08911, allocations: 172.2 kB / 452 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.08913, allocations: 4.375 kB / 452 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.08916, allocations: 8.375 kB / 452 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.08927, allocations: 70.17 kB / 452.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.08929, allocations: 192 / 452.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.08931, allocations: 11.94 kB / 452.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.08931, allocations: 3.938 kB / 452.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.08938, allocations: 35.97 kB / 452.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.08975, allocations: 312.7 kB / 452.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.09001, allocations: 126.6 kB / 452.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.09007, allocations: 36.84 kB / 452.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.09009, allocations: 4 kB / 452.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.09011, allocations: 34.56 kB / 452.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.09012, allocations: 0 / 452.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00239/0.09251, allocations: 0.7882 MB / 453.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.09255, allocations: 51.41 kB / 453.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.322e-05/0.09261, allocations: 117.8 kB / 453.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.09263, allocations: 29.7 kB / 453.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.09267, allocations: 88.47 kB / 453.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.09271, allocations: 67.08 kB / 453.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.09276, allocations: 41.64 kB / 453.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.09281, allocations: 314.8 kB / 454.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.09288, allocations: 47.91 kB / 454.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.09296, allocations: 69.7 kB / 454.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.0955, allocations: 0.5661 MB / 454.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.09551, allocations: 0 / 454.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001524/0.09704, allocations: 373.8 kB / 455.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.09707, allocations: 4 kB / 455.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.09708, allocations: 4 kB / 455.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.0988, allocations: 288.5 kB / 455.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.09886, allocations: 8 kB / 455.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.102, allocations: 2.149 MB / 457.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.1021, allocations: 4.047 kB / 457.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1021, allocations: 7.984 kB / 457.6 MB, free: 8.996 MB / 298.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.p2 = 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 (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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.1023, allocations: 121.8 kB / 457.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.1023, allocations: 11.84 kB / 457.7 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1024, allocations: 16.84 kB / 457.8 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1024, allocations: 4 kB / 457.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1024, allocations: 4 kB / 457.8 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1024, allocations: 0 / 457.8 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1035, allocations: 0.577 MB / 458.3 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1036, allocations: 0 / 458.3 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.1036, allocations: 11.98 kB / 458.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.1055, allocations: 292.4 kB / 458.6 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1055, allocations: 0 / 458.6 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.1075, allocations: 1.792 MB / 460.4 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1075, allocations: 0 / 460.4 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009235/0.1167, allocations: 4.291 MB / 464.7 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.1168, allocations: 88.95 kB / 464.8 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1168, allocations: 8.031 kB / 464.8 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.117, allocations: 4 kB / 464.8 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.117, allocations: 11.98 kB / 464.8 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.117, allocations: 4 kB / 464.8 MB, free: 1.266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.425e-05/0.1171, allocations: 95.75 kB / 464.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1171, allocations: 0 / 464.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004852/0.1176, allocations: 56 kB / 465 MB, free: 1.117 MB / 298.7 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 8.607e-05/0.1177, allocations: 99.25 kB / 465.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.1183, allocations: 314.6 kB / 465.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1183, allocations: 0 / 465.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.1188, allocations: 246.5 kB / 465.6 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1191, allocations: 12.06 kB / 465.6 MB, free: 432 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.1199, allocations: 0.6072 MB / 466.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1203, allocations: 0.7131 MB / 467 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.1203, allocations: 4.891 kB / 467 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.1204, allocations: 11.44 kB / 467 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1204, allocations: 4 kB / 467 MB, free: 15 MB / 314.7 MB Notification: Performance of Templates: time 0.007215/0.1276, allocations: 3.72 MB / 470.7 MB, free: 11.34 MB / 314.7 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)