Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",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.001867/0.001867, 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.002103/0.002103, allocations: 193.9 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.242 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.002876/0.002876, allocations: 0.5741 MB / 291 MB, free: 1.551 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.89 kB / 351.7 MB, free: 2.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 49.6 MB / 401.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.2018/0.3045, allocations: 0.5672 MB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.3048, allocations: 49.89 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.3049, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.3049, allocations: 1.875 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.305, allocations: 5.641 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.756e-05/0.3051, allocations: 15.8 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.262e-05/0.3052, allocations: 50.83 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.3052, allocations: 4.562 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.3053, allocations: 27.52 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.3053, allocations: 32.8 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3054, allocations: 3.562 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.3054, allocations: 3.781 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.3054, allocations: 9.281 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.3054, allocations: 31.28 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.697e-05/0.3055, allocations: 28.92 kB / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3055, allocations: 0 / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3055, allocations: 0 / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3055, allocations: 1.75 kB / 402.1 MB, free: 10.31 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.0005151/0.3061, allocations: 376 kB / 402.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3061, allocations: 13.3 kB / 402.5 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.3062, allocations: 36.66 kB / 402.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.3062, allocations: 9.641 kB / 402.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3063, allocations: 176 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3063, allocations: 10.88 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.3064, allocations: 10.75 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3065, allocations: 69 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3065, allocations: 3.938 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3065, allocations: 3.875 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3066, allocations: 6.188 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.132e-05/0.3067, allocations: 37.94 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.3071, allocations: 304.3 kB / 403.1 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.3075, allocations: 130.7 kB / 403.2 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.3075, allocations: 39.19 kB / 403.3 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.3076, allocations: 2.797 kB / 403.3 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3076, allocations: 35.72 kB / 403.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3076, allocations: 1.281 kB / 403.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002755/0.3104, allocations: 0.7805 MB / 404.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.3104, allocations: 61.34 kB / 404.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/0.3105, allocations: 115.4 kB / 404.3 MB, free: 8.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3105, allocations: 34.27 kB / 404.3 MB, free: 8.801 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.3105, allocations: 89.34 kB / 404.4 MB, free: 8.719 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3106, allocations: 58.89 kB / 404.5 MB, free: 8.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.3106, allocations: 37.75 kB / 404.5 MB, free: 8.664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.3107, allocations: 319.2 kB / 404.8 MB, free: 8.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.3108, allocations: 41.8 kB / 404.8 MB, free: 8.352 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.3109, allocations: 68.28 kB / 404.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.3135, allocations: 0.5587 MB / 405.5 MB, free: 8.207 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3136, allocations: 5 kB / 405.5 MB, free: 8.203 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001614/0.3152, allocations: 375.6 kB / 405.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3152, allocations: 5.688 kB / 405.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3152, allocations: 0 / 405.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.3171, allocations: 292.8 kB / 406.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.3171, allocations: 15.3 kB / 406.1 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.3207, allocations: 2.37 MB / 408.5 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.3208, allocations: 6.75 kB / 408.5 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3208, allocations: 4.594 kB / 408.5 MB, free: 6.191 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: $DER.p2 = 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.321, allocations: 124.7 kB / 408.7 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.3211, allocations: 7.766 kB / 408.7 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.3211, allocations: 22.42 kB / 408.7 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3211, allocations: 2.875 kB / 408.7 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3211, allocations: 1.188 kB / 408.7 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3211, allocations: 5.641 kB / 408.7 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.3224, allocations: 0.571 MB / 409.3 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3224, allocations: 1.562 kB / 409.3 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.3225, allocations: 16.22 kB / 409.3 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.3244, allocations: 287.8 kB / 409.6 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3245, allocations: 2.219 kB / 409.6 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.3268, allocations: 1.987 MB / 411.6 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3268, allocations: 0 / 411.6 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.3279, allocations: 429 kB / 412 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.3279, allocations: 90.03 kB / 412.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3279, allocations: 1.469 kB / 412.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3281, allocations: 6.031 kB / 412.1 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.3281, allocations: 16.14 kB / 412.1 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3281, allocations: 9.562 kB / 412.1 MB, free: 3.531 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.3282, allocations: 86.2 kB / 412.2 MB, free: 3.453 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3282, allocations: 5.344 kB / 412.2 MB, free: 3.449 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.3286, allocations: 39.53 kB / 412.2 MB, free: 3.441 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.001207/0.3298, allocations: 0.9584 MB / 413.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007511/0.3306, allocations: 328.8 kB / 413.5 MB, free: 2.473 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3306, allocations: 3.938 kB / 413.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.3312, allocations: 252.9 kB / 413.7 MB, free: 2.312 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.3314, allocations: 10.69 kB / 413.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.3361, allocations: 2.148 MB / 415.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3364, allocations: 0.7036 MB / 416.6 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.76e-05/0.3364, allocations: 8.984 kB / 416.6 MB, free: 80 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.3365, allocations: 22.14 kB / 416.6 MB, free: 64 kB / 286.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3365, allocations: 0 / 416.6 MB, free: 64 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.3754, allocations: 3.954 MB / 420.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.27, allocations: 8.078 kB / 420.6 MB, free: 15.34 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature_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_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)