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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.009303/0.009303, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.587/1.587, allocations: 223.2 MB / 239 MB, free: 1.809 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 93.11 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003606/0.003606, allocations: 0.5607 MB / 341.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004523, allocations: 8.875 kB / 402.9 MB, free: 98.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1378, allocations: 50.58 MB / 453.5 MB, free: 59.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.2462, allocations: 75.34 MB / 0.5164 GB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.2465, allocations: 71.95 kB / 0.5165 GB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002763/0.2493, allocations: 0.992 MB / 0.5175 GB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2493, allocations: 0 / 0.5175 GB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.2493, allocations: 4 kB / 0.5175 GB, free: 14.76 MB / 362.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.000521/0.2499, allocations: 367.2 kB / 0.5178 GB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2499, allocations: 12.03 kB / 0.5178 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.25, allocations: 7.906 kB / 0.5179 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.2502, allocations: 171 kB / 0.518 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.2502, allocations: 11.94 kB / 0.518 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.2503, allocations: 11.98 kB / 0.518 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.2504, allocations: 65.67 kB / 0.5181 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2504, allocations: 0 / 0.5181 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2505, allocations: 8.344 kB / 0.5181 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2505, allocations: 7.953 kB / 0.5181 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.5e-05/0.2506, allocations: 31.98 kB / 0.5181 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.2512, allocations: 304.7 kB / 0.5184 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.2515, allocations: 110.5 kB / 0.5185 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.2515, allocations: 0 / 0.5185 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2516, allocations: 38.56 kB / 0.5186 GB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.2516, allocations: 0 / 0.5186 GB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.003666/0.2552, allocations: 0.8616 MB / 0.5194 GB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.2553, allocations: 55.41 kB / 0.5195 GB, free: 12.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2555, allocations: 101 kB / 0.5196 GB, free: 12.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.2555, allocations: 29.7 kB / 0.5196 GB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.975e-05/0.2556, allocations: 99.84 kB / 0.5197 GB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.2557, allocations: 47.27 kB / 0.5197 GB, free: 12.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-06/0.2557, allocations: 4 kB / 0.5197 GB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.2559, allocations: 322.8 kB / 0.5201 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.256, allocations: 35.98 kB / 0.5201 GB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2561, allocations: 61.69 kB / 0.5201 GB, free: 11.77 MB / 362.7 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.002986/0.2591, allocations: 404 kB / 0.5205 GB, free: 11.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2591, allocations: 0 / 0.5205 GB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00177/0.2609, allocations: 336.4 kB / 0.5209 GB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.2609, allocations: 4 kB / 0.5209 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.261, allocations: 3.984 kB / 0.5209 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/0.2632, allocations: 300.4 kB / 0.5211 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.2634, allocations: 23.98 kB / 0.5212 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.2674, allocations: 1.935 MB / 0.5231 GB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.902e-05/0.2676, allocations: 12.05 kB / 0.5231 GB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.2676, allocations: 7.922 kB / 0.5231 GB, free: 8.629 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.M2 = 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 (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 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.2678, allocations: 114.9 kB / 0.5232 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.2679, allocations: 7.906 kB / 0.5232 GB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.2679, allocations: 28.45 kB / 0.5232 GB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2679, allocations: 4.5 kB / 0.5232 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.2679, allocations: 4 kB / 0.5232 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.268, allocations: 0 / 0.5232 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.2683, allocations: 205.7 kB / 0.5234 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.2683, allocations: 0 / 0.5234 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.2684, allocations: 8 kB / 0.5234 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/0.2706, allocations: 304.4 kB / 0.5237 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.2707, allocations: 12 kB / 0.5237 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.2733, allocations: 1.764 MB / 0.5255 GB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2733, allocations: 0 / 0.5255 GB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2744, allocations: 415.9 kB / 0.5259 GB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.2744, allocations: 81.02 kB / 0.5259 GB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2745, allocations: 15.98 kB / 0.5259 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2746, allocations: 4 kB / 0.526 GB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.2746, allocations: 7.984 kB / 0.526 GB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2747, allocations: 8 kB / 0.526 GB, free: 5.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.2747, allocations: 91.72 kB / 0.5261 GB, free: 5.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.2747, allocations: 0 / 0.5261 GB, free: 5.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.2751, allocations: 36 kB / 0.5261 GB, free: 5.305 MB / 362.7 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 (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 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.2753, allocations: 95.25 kB / 0.5262 GB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009507/0.2763, allocations: 326.3 kB / 0.5265 GB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2763, allocations: 4.062 kB / 0.5265 GB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.2767, allocations: 222.5 kB / 0.5267 GB, free: 4.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.2769, allocations: 5.312 kB / 0.5267 GB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.2775, allocations: 267.1 kB / 0.527 GB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.2779, allocations: 0.7012 MB / 0.5277 GB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.2779, allocations: 8.547 kB / 0.5277 GB, free: 3.609 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.2779, allocations: 11.44 kB / 0.5277 GB, free: 3.602 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2779, allocations: 0 / 0.5277 GB, free: 3.602 MB / 362.7 MB Notification: Performance of Templates: time 0.007533/0.2855, allocations: 2.072 MB / 0.5297 GB, free: 1.574 MB / 362.7 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)