Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.TwoVolumesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 106 kB / 15.99 MB, free: 6.352 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.001215/0.001215, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.002694/0.002694, allocations: 0.5827 MB / 291.3 MB, free: 14.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 351.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2424, allocations: 49.59 MB / 401.3 MB, free: 36.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001646/0.2441, allocations: 0.635 MB / 402 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.2443, allocations: 47.86 kB / 402 MB, free: 35.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.2443, allocations: 3.938 kB / 402 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.2444, allocations: 0 / 402 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.2445, allocations: 7.875 kB / 402 MB, free: 35.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.904e-05/0.2446, allocations: 11.98 kB / 402 MB, free: 35.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.493e-05/0.2446, allocations: 47.83 kB / 402.1 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.2447, allocations: 7.984 kB / 402.1 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.2447, allocations: 22.41 kB / 402.1 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.2448, allocations: 31.83 kB / 402.1 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2449, allocations: 4 kB / 402.1 MB, free: 35.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.2449, allocations: 4 kB / 402.1 MB, free: 35.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.2449, allocations: 7.984 kB / 402.1 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.2449, allocations: 27.81 kB / 402.2 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.436e-05/0.245, allocations: 18.52 kB / 402.2 MB, free: 35.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.245, allocations: 0 / 402.2 MB, free: 35.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.245, allocations: 0 / 402.2 MB, free: 35.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.245, allocations: 0 / 402.2 MB, free: 35.35 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.0004505/0.2455, allocations: 377.4 kB / 402.6 MB, free: 34.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2455, allocations: 11.89 kB / 402.6 MB, free: 34.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.2456, allocations: 12.84 kB / 402.6 MB, free: 34.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2457, allocations: 180.2 kB / 402.8 MB, free: 34.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2457, allocations: 4.375 kB / 402.8 MB, free: 34.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.2457, allocations: 8.375 kB / 402.8 MB, free: 34.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.2459, allocations: 65.11 kB / 402.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2459, allocations: 4.188 kB / 402.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2459, allocations: 7.938 kB / 402.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2459, allocations: 4 kB / 402.9 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.246, allocations: 43.97 kB / 402.9 MB, free: 34.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.2464, allocations: 304.8 kB / 403.2 MB, free: 34.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.2466, allocations: 106.5 kB / 403.3 MB, free: 34.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.2467, allocations: 36.84 kB / 403.3 MB, free: 34.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2467, allocations: 0 / 403.3 MB, free: 34.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2467, allocations: 38.56 kB / 403.4 MB, free: 34.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.2467, allocations: 0 / 403.4 MB, free: 34.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003027/0.2498, allocations: 0.8498 MB / 404.2 MB, free: 33.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.2498, allocations: 59.41 kB / 404.3 MB, free: 33.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.2499, allocations: 105.8 kB / 404.4 MB, free: 32.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2499, allocations: 33.7 kB / 404.4 MB, free: 32.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.2499, allocations: 87.91 kB / 404.5 MB, free: 32.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.25, allocations: 59.19 kB / 404.6 MB, free: 32.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.25, allocations: 33.7 kB / 404.6 MB, free: 32.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.2501, allocations: 326.8 kB / 404.9 MB, free: 32.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.2501, allocations: 35.98 kB / 404.9 MB, free: 32.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.2502, allocations: 69.12 kB / 405 MB, free: 32.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.2503, allocations: 112.2 kB / 405.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2504, allocations: 0 / 405.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008532/0.2512, allocations: 262 kB / 405.4 MB, free: 31.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2512, allocations: 7.938 kB / 405.4 MB, free: 31.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2513, allocations: 4 kB / 405.4 MB, free: 31.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008747/0.2521, allocations: 152.7 kB / 405.5 MB, free: 31.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.2522, allocations: 20 kB / 405.6 MB, free: 31.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.2541, allocations: 1.928 MB / 407.5 MB, free: 29.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.2542, allocations: 8.031 kB / 407.5 MB, free: 29.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2542, allocations: 4 kB / 407.5 MB, free: 29.61 MB / 302.1 MB 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 7.526e-05/0.2543, allocations: 118.4 kB / 407.6 MB, free: 29.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.2543, allocations: 15.84 kB / 407.6 MB, free: 29.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.2543, allocations: 20.5 kB / 407.6 MB, free: 29.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2543, allocations: 4 kB / 407.7 MB, free: 29.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2544, allocations: 0 / 407.7 MB, free: 29.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2544, allocations: 0 / 407.7 MB, free: 29.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.2545, allocations: 205.5 kB / 407.9 MB, free: 29.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2545, allocations: 0 / 407.9 MB, free: 29.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.2546, allocations: 12 kB / 407.9 MB, free: 29.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.2564, allocations: 276.4 kB / 408.1 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2564, allocations: 4 kB / 408.1 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.2581, allocations: 1.935 MB / 410.1 MB, free: 26.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2581, allocations: 4 kB / 410.1 MB, free: 26.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.2591, allocations: 411.8 kB / 410.5 MB, free: 26.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.2591, allocations: 81.11 kB / 410.6 MB, free: 26.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2591, allocations: 8.156 kB / 410.6 MB, free: 26.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.2593, allocations: 4 kB / 410.6 MB, free: 26.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.2593, allocations: 12.03 kB / 410.6 MB, free: 26.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2593, allocations: 11.98 kB / 410.6 MB, free: 26.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.2593, allocations: 79.28 kB / 410.7 MB, free: 26.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2593, allocations: 0 / 410.7 MB, free: 26.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000356/0.2597, allocations: 36 kB / 410.7 MB, free: 26.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.377e-05/0.2598, allocations: 103.2 kB / 410.8 MB, free: 26.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004808/0.2603, allocations: 272.7 kB / 411.1 MB, free: 25.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2603, allocations: 0 / 411.1 MB, free: 25.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.2606, allocations: 237.5 kB / 411.3 MB, free: 25.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.2608, allocations: 4 kB / 411.3 MB, free: 25.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.2612, allocations: 298.7 kB / 411.6 MB, free: 25.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2613, allocations: 0.7044 MB / 412.3 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.2614, allocations: 11.44 kB / 412.3 MB, free: 24.46 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2614, allocations: 0 / 412.3 MB, free: 24.46 MB / 302.1 MB Notification: Performance of Templates: time 0.002948/0.2643, allocations: 1.562 MB / 413.9 MB, free: 22.91 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)