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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002511/0.002511, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004957/0.004957, allocations: 0.5741 MB / 291 MB, free: 1.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.88 kB / 351.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.1011, allocations: 49.59 MB / 401.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002076/0.1033, allocations: 0.5666 MB / 401.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.144/0.2473, allocations: 46.55 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.2474, allocations: 0 / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.2474, allocations: 5.594 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.2476, allocations: 4.125 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.2477, allocations: 19.69 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.796e-05/0.2478, allocations: 46.97 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.2479, allocations: 4.422 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.2479, allocations: 24.44 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.248, allocations: 28.66 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.248, allocations: 4.5 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.248, allocations: 2.719 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.2481, allocations: 12.17 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.2481, allocations: 28.05 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.92e-05/0.2482, allocations: 29.34 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2482, allocations: 0.6562 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2482, allocations: 0 / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2482, allocations: 7.438 kB / 402.1 MB, free: 10.32 MB / 286.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.00046/0.2487, allocations: 374.2 kB / 402.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2488, allocations: 10.23 kB / 402.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.2488, allocations: 37.56 kB / 402.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.2488, allocations: 9.484 kB / 402.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2489, allocations: 184.9 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.249, allocations: 2.906 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.249, allocations: 10.92 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2491, allocations: 74.64 kB / 402.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2491, allocations: 3.938 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2492, allocations: 1.5 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2492, allocations: 2.359 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.2493, allocations: 42.2 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.2497, allocations: 310.2 kB / 403.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.25, allocations: 118.7 kB / 403.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.25, allocations: 41.73 kB / 403.3 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.2501, allocations: 5.75 kB / 403.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.2501, allocations: 35 kB / 403.3 MB, free: 9.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.2501, allocations: 0 / 403.3 MB, free: 9.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003344/0.2534, allocations: 0.9299 MB / 404.2 MB, free: 9.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.2535, allocations: 54 kB / 404.3 MB, free: 8.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.2535, allocations: 111.1 kB / 404.4 MB, free: 8.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2535, allocations: 30.23 kB / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.2536, allocations: 85.97 kB / 404.5 MB, free: 8.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2536, allocations: 64.17 kB / 404.6 MB, free: 8.711 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.2537, allocations: 38.41 kB / 404.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.2537, allocations: 320.5 kB / 404.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.2538, allocations: 43.69 kB / 405 MB, free: 8.379 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.2539, allocations: 60.8 kB / 405 MB, free: 8.363 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.2564, allocations: 0.5712 MB / 405.6 MB, free: 8.227 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2564, allocations: 0 / 405.6 MB, free: 8.227 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008802/0.2573, allocations: 281.3 kB / 405.9 MB, free: 8.164 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2573, allocations: 4.312 kB / 405.9 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2574, allocations: 2.328 kB / 405.9 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008742/0.2582, allocations: 160.4 kB / 406 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.2583, allocations: 28.64 kB / 406.1 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.2605, allocations: 1.974 MB / 408 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.2606, allocations: 0.9375 kB / 408.1 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2606, allocations: 11.91 kB / 408.1 MB, free: 6.406 MB / 286.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.0001426/0.2608, allocations: 123 kB / 408.2 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.2608, allocations: 7.812 kB / 408.2 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.2608, allocations: 23.23 kB / 408.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2609, allocations: 2.75 kB / 408.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2609, allocations: 2.625 kB / 408.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2609, allocations: 0.9844 kB / 408.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.2621, allocations: 0.5638 MB / 408.8 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2621, allocations: 6.625 kB / 408.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.2622, allocations: 11.61 kB / 408.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.2642, allocations: 282.8 kB / 409.1 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2642, allocations: 11.08 kB / 409.1 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.2663, allocations: 1.982 MB / 411.1 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2663, allocations: 0 / 411.1 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2674, allocations: 442.2 kB / 411.5 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.2674, allocations: 84.55 kB / 411.6 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.2674, allocations: 6.891 kB / 411.6 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2675, allocations: 1.062 kB / 411.6 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.2676, allocations: 21.12 kB / 411.6 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2676, allocations: 5.016 kB / 411.6 MB, free: 3.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.08e-05/0.2676, allocations: 92.73 kB / 411.7 MB, free: 3.668 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2676, allocations: 1.375 kB / 411.7 MB, free: 3.668 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.268, allocations: 29.44 kB / 411.7 MB, free: 3.664 MB / 286.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 0.001152/0.2692, allocations: 0.9644 MB / 412.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007424/0.2699, allocations: 320.7 kB / 413 MB, free: 2.699 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2699, allocations: 0 / 413 MB, free: 2.699 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.2705, allocations: 253.8 kB / 413.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2708, allocations: 10.97 kB / 413.3 MB, free: 2.531 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.2735, allocations: 1.956 MB / 415.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2736, allocations: 0.7019 MB / 415.9 MB, free: 356 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.2737, allocations: 6.219 kB / 415.9 MB, free: 356 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.2737, allocations: 25.38 kB / 416 MB, free: 336 kB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2737, allocations: 0 / 416 MB, free: 336 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3036, allocations: 3.079 MB / 419 MB, free: 15.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.683/9.987, allocations: 9.344 kB / 419.1 MB, free: 15.91 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)