Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",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.001331/0.001331, allocations: 108 kB / 15.61 MB, free: 152 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.001477/0.001477, allocations: 198.1 kB / 16.53 MB, free: 6.664 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.003042/0.003041, allocations: 0.5624 MB / 291 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001974, allocations: 59.91 kB / 351.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09865, allocations: 49.6 MB / 401.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.00184/0.1005, allocations: 0.5912 MB / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1586/0.2591, allocations: 42.91 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.2592, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.2593, allocations: 2.719 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.2593, allocations: 5.828 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.2595, allocations: 15.5 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.2596, allocations: 51.89 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.2597, allocations: 3.891 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.2597, allocations: 25.55 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.2598, allocations: 29.89 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2598, allocations: 5.594 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.2598, allocations: 3.469 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.2599, allocations: 12.5 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.2599, allocations: 27.8 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.522e-05/0.26, allocations: 28.16 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.26, allocations: 2.047 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.26, allocations: 0.9688 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.26, allocations: 0 / 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.0004851/0.2605, allocations: 375.6 kB / 402.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2606, allocations: 14.41 kB / 402.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.2606, allocations: 37.77 kB / 402.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.2606, allocations: 7.688 kB / 402.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.702e-05/0.2607, allocations: 173.9 kB / 402.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2608, allocations: 10.94 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.2608, allocations: 9.906 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2609, allocations: 76.03 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.261, allocations: 4.531 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.261, allocations: 9.469 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.261, allocations: 1.688 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.2611, allocations: 36.56 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.2615, allocations: 309 kB / 403.1 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.2619, allocations: 122 kB / 403.3 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.262, allocations: 40.12 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.262, allocations: 1.781 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.262, allocations: 35.41 kB / 403.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.262, allocations: 1.625 kB / 403.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003624/0.2657, allocations: 0.9259 MB / 404.3 MB, free: 9 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2657, allocations: 54.16 kB / 404.3 MB, free: 8.938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.2658, allocations: 110.3 kB / 404.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.2658, allocations: 30.86 kB / 404.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.2659, allocations: 85.8 kB / 404.5 MB, free: 8.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.2659, allocations: 62.41 kB / 404.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.266, allocations: 38.59 kB / 404.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.2661, allocations: 323.3 kB / 405 MB, free: 8.348 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.2661, allocations: 40.97 kB / 405 MB, free: 8.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.139e-05/0.2662, allocations: 65.12 kB / 405.1 MB, free: 8.332 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.2691, allocations: 0.5688 MB / 405.6 MB, free: 8.199 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2691, allocations: 0 / 405.6 MB, free: 8.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009419/0.27, allocations: 282.8 kB / 405.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2701, allocations: 7.703 kB / 405.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2701, allocations: 1.062 kB / 405.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009255/0.271, allocations: 159.7 kB / 406.1 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2711, allocations: 25.12 kB / 406.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.2735, allocations: 1.972 MB / 408.1 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.2736, allocations: 10.19 kB / 408.1 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2736, allocations: 11.89 kB / 408.1 MB, free: 6.363 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.0001122/0.2737, allocations: 127 kB / 408.2 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.2738, allocations: 7.969 kB / 408.2 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.2738, allocations: 18.92 kB / 408.2 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2738, allocations: 6.078 kB / 408.2 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.2738, allocations: 1.281 kB / 408.2 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2739, allocations: 2.828 kB / 408.2 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.2751, allocations: 0.5662 MB / 408.8 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2751, allocations: 4.594 kB / 408.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.2752, allocations: 11.86 kB / 408.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.2772, allocations: 288.8 kB / 409.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2772, allocations: 6.328 kB / 409.1 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.2796, allocations: 1.973 MB / 411.1 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2796, allocations: 1.125 kB / 411.1 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2807, allocations: 438 kB / 411.5 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.2808, allocations: 84.36 kB / 411.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.2808, allocations: 2.375 kB / 411.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2809, allocations: 5.875 kB / 411.6 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.281, allocations: 20.16 kB / 411.6 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.281, allocations: 11.95 kB / 411.6 MB, free: 3.703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.281, allocations: 86.83 kB / 411.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.281, allocations: 0 / 411.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000381/0.2814, allocations: 34.66 kB / 411.8 MB, free: 3.621 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.001239/0.2827, allocations: 0.9579 MB / 412.7 MB, free: 2.848 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.2835, allocations: 326 kB / 413 MB, free: 2.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2835, allocations: 0 / 413 MB, free: 2.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.284, allocations: 249.2 kB / 413.3 MB, free: 2.504 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.2843, allocations: 16.67 kB / 413.3 MB, free: 2.492 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.2874, allocations: 1.952 MB / 415.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.2876, allocations: 0.7013 MB / 415.9 MB, free: 320 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.2876, allocations: 6.922 kB / 416 MB, free: 320 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.2877, allocations: 28.62 kB / 416 MB, free: 296 kB / 286.1 MB Notification: Performance of SimCode: time 1.143e-06/0.2877, allocations: 0 / 416 MB, free: 296 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.3188, allocations: 3.087 MB / 419.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.951/10.27, allocations: 14.52 kB / 419.1 MB, free: 15.86 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent_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_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)