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.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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",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.005838/0.005838, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001288/0.001288, allocations: 195 kB / 16.67 MB, free: 5.934 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.004055/0.004055, allocations: 0.5623 MB / 291.1 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1822/0.1822, allocations: 63.92 kB / 401.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.2899, allocations: 49.59 MB / 451.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001672/0.2916, allocations: 0.5869 MB / 452.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000225/0.2918, allocations: 50.91 kB / 452.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.2919, allocations: 0 / 452.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.2919, allocations: 3.938 kB / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.292, allocations: 7.922 kB / 452.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.673e-05/0.2921, allocations: 11.98 kB / 452.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.663e-05/0.2922, allocations: 51.81 kB / 452.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.886e-05/0.2923, allocations: 4 kB / 452.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.2923, allocations: 23.92 kB / 452.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.2924, allocations: 31.84 kB / 452.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2924, allocations: 4 kB / 452.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.2924, allocations: 4 kB / 452.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.2925, allocations: 15.97 kB / 452.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.2925, allocations: 23.8 kB / 452.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.2926, allocations: 35.48 kB / 452.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2926, allocations: 4 kB / 452.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2926, allocations: 0 / 452.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.2927, allocations: 3.938 kB / 452.4 MB, free: 5.047 MB / 318.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.0005099/0.2932, allocations: 371.3 kB / 452.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.2932, allocations: 15.89 kB / 452.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.2933, allocations: 38.75 kB / 452.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.2933, allocations: 8.891 kB / 452.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.2935, allocations: 184.2 kB / 453 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2935, allocations: 4.375 kB / 453 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2935, allocations: 8.375 kB / 453 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2937, allocations: 70.17 kB / 453.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2937, allocations: 3.938 kB / 453.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2937, allocations: 4 kB / 453.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2937, allocations: 0 / 453.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.2938, allocations: 35.98 kB / 453.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.2943, allocations: 312.7 kB / 453.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.2946, allocations: 106.5 kB / 453.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.2946, allocations: 36.78 kB / 453.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.2947, allocations: 4 kB / 453.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.2947, allocations: 38.56 kB / 453.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.2947, allocations: 0 / 453.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.003146/0.2979, allocations: 0.8462 MB / 454.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.2979, allocations: 59.34 kB / 454.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.298, allocations: 109.8 kB / 454.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2981, allocations: 29.7 kB / 454.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.2981, allocations: 88.09 kB / 454.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.2982, allocations: 59.52 kB / 454.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.2982, allocations: 29.67 kB / 454.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2984, allocations: 326.8 kB / 455.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.2985, allocations: 47.98 kB / 455.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.2985, allocations: 57.69 kB / 455.2 MB, free: 1.91 MB / 318.1 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.002415/0.301, allocations: 467.5 kB / 455.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.301, allocations: 7.938 kB / 455.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00142/0.3024, allocations: 328.1 kB / 456 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3024, allocations: 11.92 kB / 456 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.3024, allocations: 7.984 kB / 456 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/0.3041, allocations: 256.6 kB / 456.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.3042, allocations: 23.92 kB / 456.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.3074, allocations: 1.945 MB / 458.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.3074, allocations: 11.98 kB / 458.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3075, allocations: 8.062 kB / 458.3 MB, free: 14.71 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: $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.0002089/0.3077, allocations: 114.5 kB / 458.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.3077, allocations: 7.891 kB / 458.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.3078, allocations: 20.5 kB / 458.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3078, allocations: 0 / 458.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3078, allocations: 4 kB / 458.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3078, allocations: 7.938 kB / 458.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.308, allocations: 205.6 kB / 458.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.308, allocations: 0 / 458.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.3081, allocations: 12 kB / 458.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.3098, allocations: 284.7 kB / 458.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3098, allocations: 4 kB / 458.9 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.3121, allocations: 1.939 MB / 460.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3121, allocations: 0 / 460.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009931/0.3131, allocations: 416 kB / 461.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.3131, allocations: 81.06 kB / 461.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3131, allocations: 3.938 kB / 461.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3133, allocations: 8 kB / 461.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.3133, allocations: 8.031 kB / 461.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3133, allocations: 7.984 kB / 461.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.3134, allocations: 87.28 kB / 461.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3134, allocations: 4 kB / 461.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.3137, allocations: 36 kB / 461.5 MB, free: 11.25 MB / 334.1 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 0.001345/0.3151, allocations: 0.9304 MB / 462.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007886/0.3159, allocations: 328.4 kB / 462.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3159, allocations: 3.938 kB / 462.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.3162, allocations: 226.5 kB / 463 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3164, allocations: 8 kB / 463 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.3204, allocations: 2.04 MB / 465 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3207, allocations: 0.7046 MB / 465.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.3208, allocations: 4.562 kB / 465.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3208, allocations: 23.42 kB / 465.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3208, allocations: 0 / 465.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/0.43, allocations: 3.787 MB / 469.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.17, allocations: 6.141 kB / 469.5 MB, free: 3.246 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy_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_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)