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.001213/0.001213, allocations: 105.6 kB / 15.99 MB, free: 5.895 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.001864/0.001864, allocations: 191.2 kB / 16.91 MB, free: 5.746 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 13.66 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.002805/0.002805, allocations: 0.5625 MB / 291.3 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 351.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2488, allocations: 49.59 MB / 401.3 MB, free: 36.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.00175/0.2506, allocations: 0.6328 MB / 401.9 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002078/0.2508, allocations: 51.86 kB / 402 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.2508, allocations: 3.938 kB / 402 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.2509, allocations: 0 / 402 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.251, allocations: 11.52 kB / 402 MB, free: 35.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.964e-05/0.2511, allocations: 7.984 kB / 402 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.2512, allocations: 47.84 kB / 402.1 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.2512, allocations: 4 kB / 402.1 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.2513, allocations: 23.92 kB / 402.1 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.2513, allocations: 27.84 kB / 402.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2514, allocations: 4 kB / 402.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.2514, allocations: 4 kB / 402.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2514, allocations: 11.97 kB / 402.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.2514, allocations: 35.8 kB / 402.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.766e-05/0.2515, allocations: 11.97 kB / 402.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2515, allocations: 3.938 kB / 402.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2515, allocations: 0 / 402.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2515, allocations: 0 / 402.2 MB, free: 35.29 MB / 302.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.000464/0.252, allocations: 373.4 kB / 402.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2521, allocations: 11.89 kB / 402.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.2521, allocations: 12.84 kB / 402.6 MB, free: 34.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2522, allocations: 184.1 kB / 402.8 MB, free: 34.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2522, allocations: 8.375 kB / 402.8 MB, free: 34.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.2522, allocations: 8.375 kB / 402.8 MB, free: 34.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2524, allocations: 66.23 kB / 402.8 MB, free: 34.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2524, allocations: 192 / 402.8 MB, free: 34.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2524, allocations: 7.938 kB / 402.8 MB, free: 34.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2524, allocations: 4 kB / 402.8 MB, free: 34.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.2525, allocations: 39.97 kB / 402.9 MB, free: 34.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.2529, allocations: 312.8 kB / 403.2 MB, free: 34.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.2532, allocations: 114.7 kB / 403.3 MB, free: 34.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.2533, allocations: 40.84 kB / 403.3 MB, free: 33.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.2533, allocations: 4 kB / 403.3 MB, free: 33.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.2533, allocations: 38.5 kB / 403.4 MB, free: 33.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2533, allocations: 0 / 403.4 MB, free: 33.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.003249/0.2566, allocations: 0.9295 MB / 404.3 MB, free: 32.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.2566, allocations: 55.41 kB / 404.4 MB, free: 32.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.2567, allocations: 105.8 kB / 404.5 MB, free: 32.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2567, allocations: 33.7 kB / 404.5 MB, free: 32.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.2568, allocations: 80.47 kB / 404.6 MB, free: 32.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2568, allocations: 63.09 kB / 404.6 MB, free: 32.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.2568, allocations: 41.66 kB / 404.7 MB, free: 32.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.2569, allocations: 318.8 kB / 405 MB, free: 32.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.257, allocations: 43.98 kB / 405 MB, free: 32.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.631e-05/0.2571, allocations: 65.69 kB / 405.1 MB, free: 32.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.2596, allocations: 0.5734 MB / 405.7 MB, free: 31.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2596, allocations: 0 / 405.7 MB, free: 31.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000903/0.2605, allocations: 274.1 kB / 405.9 MB, free: 31.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2606, allocations: 7.984 kB / 406 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2606, allocations: 0 / 406 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.2615, allocations: 160.7 kB / 406.1 MB, free: 31.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.2616, allocations: 23.98 kB / 406.1 MB, free: 31.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.2638, allocations: 1.975 MB / 408.1 MB, free: 28.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.2639, allocations: 4 kB / 408.1 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2639, allocations: 15.98 kB / 408.1 MB, free: 28.9 MB / 302.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 = 100000.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 (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.0001773/0.2641, allocations: 121.7 kB / 408.2 MB, free: 28.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.2641, allocations: 8 kB / 408.3 MB, free: 28.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.2641, allocations: 20.89 kB / 408.3 MB, free: 28.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2641, allocations: 4 kB / 408.3 MB, free: 28.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2642, allocations: 4 kB / 408.3 MB, free: 28.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2642, allocations: 4.031 kB / 408.3 MB, free: 28.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.2654, allocations: 0.5631 MB / 408.9 MB, free: 28.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2654, allocations: 4.031 kB / 408.9 MB, free: 28.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.2654, allocations: 19.92 kB / 408.9 MB, free: 28.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.2673, allocations: 284.4 kB / 409.2 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2673, allocations: 12.19 kB / 409.2 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.2694, allocations: 1.975 MB / 411.1 MB, free: 25.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2694, allocations: 0 / 411.1 MB, free: 25.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.2703, allocations: 434.9 kB / 411.6 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.2703, allocations: 85.02 kB / 411.6 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2703, allocations: 8 kB / 411.7 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.2705, allocations: 4.031 kB / 411.7 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.2705, allocations: 23.86 kB / 411.7 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2705, allocations: 4 kB / 411.7 MB, free: 25.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.2706, allocations: 87.27 kB / 411.8 MB, free: 25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2706, allocations: 0 / 411.8 MB, free: 25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003348/0.2709, allocations: 32 kB / 411.8 MB, free: 24.97 MB / 302.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 7.705e-05/0.271, allocations: 100.2 kB / 411.9 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006876/0.2717, allocations: 314.6 kB / 412.2 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2717, allocations: 0 / 412.2 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.2722, allocations: 263.1 kB / 412.5 MB, free: 24.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.2724, allocations: 8.391 kB / 412.5 MB, free: 24.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.2728, allocations: 306.1 kB / 412.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.273, allocations: 0.7085 MB / 413.5 MB, free: 23.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.273, allocations: 11.44 kB / 413.5 MB, free: 23.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.273, allocations: 0 / 413.5 MB, free: 23.18 MB / 302.1 MB Notification: Performance of Templates: time 0.002886/0.2759, allocations: 1.619 MB / 415.1 MB, free: 21.57 MB / 302.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)