Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001048/0.001049, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002976/0.002976, allocations: 0.5569 MB / 291.8 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.91 kB / 403.1 MB, free: 32.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07057/0.07178, allocations: 49.59 MB / 452.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001503/0.07332, allocations: 0.5785 MB / 453.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.07352, allocations: 47.86 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.07357, allocations: 0 / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.07359, allocations: 3.938 kB / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.07366, allocations: 3.938 kB / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.397e-05/0.07375, allocations: 15.91 kB / 453.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.54e-05/0.07383, allocations: 51.83 kB / 453.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.07389, allocations: 4.344 kB / 453.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.07393, allocations: 19.92 kB / 453.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.074, allocations: 31.91 kB / 453.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.07403, allocations: 7.938 kB / 453.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.07404, allocations: 4 kB / 453.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.07407, allocations: 11.92 kB / 453.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.0741, allocations: 31.86 kB / 453.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.624e-05/0.07418, allocations: 31.81 kB / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.07419, allocations: 0 / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0742, allocations: 0 / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.07421, allocations: 0 / 453.5 MB, free: 13.66 MB / 334.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.0004394/0.07465, allocations: 379.3 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.07469, allocations: 15.89 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.07473, allocations: 8.844 kB / 453.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.07484, allocations: 164.3 kB / 454.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.07486, allocations: 4.375 kB / 454.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.07489, allocations: 12.28 kB / 454.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.07502, allocations: 70.22 kB / 454.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.07503, allocations: 192 / 454.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.07506, allocations: 15.94 kB / 454.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.07507, allocations: 3.984 kB / 454.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.07514, allocations: 31.98 kB / 454.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.07558, allocations: 312.8 kB / 454.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.07585, allocations: 130.6 kB / 454.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.07592, allocations: 36.84 kB / 454.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.07594, allocations: 4.219 kB / 454.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.07596, allocations: 34.5 kB / 454.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 3.346e-06/0.07597, allocations: 0 / 454.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.003207/0.07918, allocations: 0.9225 MB / 455.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.07923, allocations: 59.28 kB / 455.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.0793, allocations: 117.8 kB / 455.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.07933, allocations: 25.7 kB / 455.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.07938, allocations: 96.36 kB / 455.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.07942, allocations: 59.09 kB / 456 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.07948, allocations: 37.66 kB / 456 MB, free: 10.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.07957, allocations: 322.8 kB / 456.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.07965, allocations: 43.98 kB / 456.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.07973, allocations: 63.56 kB / 456.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/0.08225, allocations: 0.5673 MB / 457 MB, free: 9.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.08226, allocations: 0 / 457 MB, free: 9.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000867/0.08313, allocations: 278.1 kB / 457.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.08316, allocations: 8 kB / 457.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.08317, allocations: 0 / 457.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008517/0.08403, allocations: 164.6 kB / 457.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.08412, allocations: 20 kB / 457.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.08652, allocations: 1.971 MB / 459.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.08661, allocations: 4 kB / 459.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.08663, allocations: 4 kB / 459.5 MB, free: 7.27 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: p1 = 1e5. 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 (13): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.0001659/0.0868, allocations: 137.6 kB / 459.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.08684, allocations: 7.906 kB / 459.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.08689, allocations: 20.84 kB / 459.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.0869, allocations: 0 / 459.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.08691, allocations: 0 / 459.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.08692, allocations: 4 kB / 459.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.08812, allocations: 0.5773 MB / 460.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.08813, allocations: 0 / 460.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.08819, allocations: 15.92 kB / 460.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.09003, allocations: 292.6 kB / 460.5 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.09005, allocations: 64 / 460.5 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.09234, allocations: 1.986 MB / 462.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.09236, allocations: 4.031 kB / 462.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009892/0.09336, allocations: 432.7 kB / 462.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.0934, allocations: 85.02 kB / 463 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.09342, allocations: 0 / 463 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.09354, allocations: 8 kB / 463 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.09358, allocations: 15.95 kB / 463 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.0936, allocations: 4 kB / 463 MB, free: 3.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.177e-05/0.09364, allocations: 99.2 kB / 463.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09365, allocations: 0 / 463.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000332/0.09399, allocations: 32 kB / 463.2 MB, free: 3.328 MB / 334.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 (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 9.535e-05/0.09409, allocations: 103.1 kB / 463.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000737/0.09483, allocations: 308.8 kB / 463.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.09485, allocations: 0 / 463.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.09539, allocations: 254.5 kB / 463.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.09562, allocations: 15.94 kB / 463.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.09605, allocations: 284 kB / 464.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.09628, allocations: 0.7007 MB / 464.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.09632, allocations: 11.44 kB / 464.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09633, allocations: 4 kB / 464.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of Templates: time 0.003031/0.09936, allocations: 1.624 MB / 466.4 MB, free: 15.96 MB / 350.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)