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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.005436/0.005436, allocations: 441.7 kB / 260 MB, free: 12.64 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 329.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.915e-05, allocations: 8.703 kB / 329.4 MB, free: 19.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.00188/0.001909, allocations: 0.5654 MB / 330 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.002147, allocations: 47.8 kB / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.002193, allocations: 0 / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.002211, allocations: 3.938 kB / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.002314, allocations: 4 kB / 330 MB, free: 19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.002415, allocations: 19.89 kB / 330 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.615e-05/0.002502, allocations: 43.91 kB / 330.1 MB, free: 18.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.00255, allocations: 7.984 kB / 330.1 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.002625, allocations: 31.91 kB / 330.1 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.002701, allocations: 31.81 kB / 330.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.002725, allocations: 4 kB / 330.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.00274, allocations: 4 kB / 330.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.00276, allocations: 8 kB / 330.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.002793, allocations: 19.91 kB / 330.2 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.98e-05/0.002882, allocations: 31.88 kB / 330.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.002887, allocations: 8 kB / 330.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002888, allocations: 0 / 330.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.002893, allocations: 0 / 330.2 MB, free: 18.8 MB / 266.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.0005528/0.003446, allocations: 404 kB / 330.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.003484, allocations: 8.031 kB / 330.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.003542, allocations: 8.891 kB / 330.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.003648, allocations: 128.6 kB / 330.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.003668, allocations: 384 / 330.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.003699, allocations: 16.31 kB / 330.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.003839, allocations: 62.23 kB / 330.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.00385, allocations: 192 / 330.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.003864, allocations: 8.359 kB / 330.9 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.00387, allocations: 4.375 kB / 330.9 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.003971, allocations: 31.92 kB / 330.9 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.004517, allocations: 299.7 kB / 331.2 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.004841, allocations: 115 kB / 331.3 MB, free: 17.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.004908, allocations: 39.66 kB / 331.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.004927, allocations: 0 / 331.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.004942, allocations: 37.39 kB / 331.4 MB, free: 17.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.004943, allocations: 0 / 331.4 MB, free: 17.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.003939/0.008883, allocations: 0.7623 MB / 332.1 MB, free: 16.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.008913, allocations: 51.41 kB / 332.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.009029, allocations: 173.9 kB / 332.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.009044, allocations: 29.7 kB / 332.4 MB, free: 16.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.0091, allocations: 142.8 kB / 332.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.00914, allocations: 47.59 kB / 332.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-05/0.009217, allocations: 43.31 kB / 332.6 MB, free: 16.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.009307, allocations: 0.4923 MB / 333.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-05/0.009402, allocations: 39.98 kB / 333.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.00952, allocations: 68.89 kB / 333.2 MB, free: 15.58 MB / 266.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.003625/0.01314, allocations: 484.2 kB / 333.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01315, allocations: 0 / 333.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002086/0.01523, allocations: 343.2 kB / 334 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01525, allocations: 4 kB / 334 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01526, allocations: 7.984 kB / 334 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003811/0.01907, allocations: 399.2 kB / 334.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01918, allocations: 23.92 kB / 334.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.02344, allocations: 2.334 MB / 336.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.02357, allocations: 4 kB / 336.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.02358, allocations: 4 kB / 336.8 MB, free: 11.86 MB / 266.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.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.0001263/0.02371, allocations: 168.6 kB / 336.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.02377, allocations: 7.953 kB / 337 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.02383, allocations: 24.44 kB / 337 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.02384, allocations: 0 / 337 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.02384, allocations: 7.938 kB / 337 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.02385, allocations: 0 / 337 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.02403, allocations: 144.6 kB / 337.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.02404, allocations: 0 / 337.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.02411, allocations: 15.98 kB / 337.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003131/0.02724, allocations: 323.6 kB / 337.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.02727, allocations: 15.98 kB / 337.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.03, allocations: 2.407 MB / 339.9 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03, allocations: 4 kB / 339.9 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.03151, allocations: 467.1 kB / 340.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.03153, allocations: 3.953 kB / 340.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.03155, allocations: 8 kB / 340.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.03174, allocations: 0 / 340.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.0318, allocations: 15.97 kB / 340.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.03181, allocations: 7.938 kB / 340.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.273e-05/0.03186, allocations: 139.2 kB / 340.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03186, allocations: 3.938 kB / 340.5 MB, free: 7.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005689/0.03242, allocations: 32 kB / 340.5 MB, free: 7.906 MB / 266.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 (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 9.866e-05/0.03252, allocations: 95.25 kB / 340.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.0336, allocations: 396.1 kB / 341 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.0336, allocations: 0 / 341 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.03403, allocations: 285.2 kB / 341.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.03441, allocations: 19.88 kB / 341.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.0349, allocations: 240.3 kB / 341.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.03497, allocations: 93.62 kB / 341.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.03501, allocations: 4.5 kB / 341.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.03504, allocations: 12.5 kB / 341.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03504, allocations: 0 / 341.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of Templates: time 0.00776/0.0428, allocations: 2.685 MB / 344.4 MB, free: 4.062 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile [Timeout 660] (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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.657208253978752]