Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004606/0.004606, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001104/0.001104, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.002819/0.002819, allocations: 0.5662 MB / 291.1 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 60 kB / 402.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08761, allocations: 49.6 MB / 452 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001625/0.08927, allocations: 0.5789 MB / 452.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.08951, allocations: 50.88 kB / 452.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.08956, allocations: 4 kB / 452.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.08959, allocations: 3.938 kB / 452.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.08968, allocations: 11.91 kB / 452.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.952e-05/0.08978, allocations: 19.86 kB / 452.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.08986, allocations: 43.89 kB / 452.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.08991, allocations: 4 kB / 452.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.08995, allocations: 23.91 kB / 452.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.09003, allocations: 31.84 kB / 452.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.09006, allocations: 4 kB / 452.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.09007, allocations: 4 kB / 452.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.0901, allocations: 15.98 kB / 452.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.09015, allocations: 27.8 kB / 452.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.504e-05/0.09023, allocations: 31.81 kB / 452.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.09023, allocations: 0 / 452.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09024, allocations: 0 / 452.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.09025, allocations: 0 / 452.9 MB, free: 4.434 MB / 318.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.000502/0.09076, allocations: 379.2 kB / 453.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.0908, allocations: 15.89 kB / 453.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.09084, allocations: 8.891 kB / 453.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.09099, allocations: 168.3 kB / 453.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.09102, allocations: 4.375 kB / 453.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.09105, allocations: 8.375 kB / 453.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.09119, allocations: 70.22 kB / 453.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.0912, allocations: 4.125 kB / 453.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.09122, allocations: 3.938 kB / 453.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.09123, allocations: 4 kB / 453.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.09131, allocations: 39.92 kB / 453.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.09178, allocations: 308.8 kB / 453.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.09204, allocations: 110.5 kB / 454 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.09211, allocations: 36.84 kB / 454 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.09213, allocations: 0 / 454 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.09218, allocations: 38.56 kB / 454 MB, free: 3.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.09219, allocations: 3.938 kB / 454 MB, free: 3.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.003237/0.09543, allocations: 0.8423 MB / 454.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.09547, allocations: 55.41 kB / 454.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.09556, allocations: 118.1 kB / 455.1 MB, free: 2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.09559, allocations: 25.7 kB / 455.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.09566, allocations: 88.09 kB / 455.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.09571, allocations: 55.58 kB / 455.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.09577, allocations: 37.67 kB / 455.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.09589, allocations: 322.8 kB / 455.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.09597, allocations: 43.92 kB / 455.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.09606, allocations: 65.69 kB / 455.7 MB, free: 1.344 MB / 318.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.09852, allocations: 477.5 kB / 456.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.09853, allocations: 7.938 kB / 456.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001417/0.09996, allocations: 331.8 kB / 456.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.09998, allocations: 8 kB / 456.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.09999, allocations: 0 / 456.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.1017, allocations: 260.5 kB / 456.7 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.1018, allocations: 16 kB / 456.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.105, allocations: 1.948 MB / 458.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.1051, allocations: 8.062 kB / 458.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1051, allocations: 4.281 kB / 458.7 MB, free: 14.15 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.E1 = 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 (10): * Single equations (assignments): 9 * 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 {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.1053, allocations: 125.8 kB / 458.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1053, allocations: 15.83 kB / 458.9 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.1054, allocations: 16.5 kB / 458.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1054, allocations: 0 / 458.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1054, allocations: 4 kB / 458.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1054, allocations: 0 / 458.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1056, allocations: 205.7 kB / 459.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1056, allocations: 3.938 kB / 459.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.1057, allocations: 15.94 kB / 459.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/0.1075, allocations: 272.5 kB / 459.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1075, allocations: 8 kB / 459.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.1097, allocations: 1.944 MB / 461.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1097, allocations: 4 kB / 461.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/0.1107, allocations: 400 kB / 461.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.1108, allocations: 85.09 kB / 461.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1108, allocations: 7.938 kB / 461.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1109, allocations: 4 kB / 461.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1109, allocations: 11.92 kB / 461.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.111, allocations: 7.984 kB / 461.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.179e-05/0.111, allocations: 91.27 kB / 461.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.111, allocations: 0 / 461.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1113, allocations: 36 kB / 462 MB, free: 10.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,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 8.34e-05/0.1114, allocations: 100.5 kB / 462 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007561/0.1122, allocations: 334.4 kB / 462.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1122, allocations: 0 / 462.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.1125, allocations: 218.5 kB / 462.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.1127, allocations: 10.5 kB / 462.6 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.1131, allocations: 249.3 kB / 462.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1134, allocations: 0.7007 MB / 463.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.752e-05/0.1134, allocations: 4.562 kB / 463.5 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.1134, allocations: 11.44 kB / 463.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1134, allocations: 0 / 463.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of Templates: time 0.004952/0.1184, allocations: 2.379 MB / 465.9 MB, free: 6.656 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)