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.001393/0.001394, allocations: 108 kB / 15.61 MB, free: 148 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.001709/0.001709, allocations: 193.8 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.00287/0.00287, allocations: 0.5661 MB / 291 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 351.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08312/0.08449, allocations: 49.59 MB / 401.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.1383/0.2228, allocations: 0.5917 MB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002818/0.2232, allocations: 39.86 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.2232, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.2233, allocations: 4.969 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.2233, allocations: 10.89 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.93e-05/0.2234, allocations: 11.77 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.2235, allocations: 49.05 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.2236, allocations: 7.812 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.2236, allocations: 19.45 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.2237, allocations: 36.12 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.2237, allocations: 3.688 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.2238, allocations: 3.344 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.2238, allocations: 9.219 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.2238, allocations: 28.53 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.966e-05/0.2239, allocations: 25.95 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2239, allocations: 4.078 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2239, allocations: 1.312 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.2239, 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.0004563/0.2244, allocations: 377.2 kB / 402.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2245, allocations: 13.05 kB / 402.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.2245, allocations: 38.55 kB / 402.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.2245, allocations: 7.906 kB / 402.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2246, allocations: 180.4 kB / 402.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2247, allocations: 3.156 kB / 402.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.2247, allocations: 9.547 kB / 402.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2248, allocations: 72.47 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2248, allocations: 4.688 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2249, allocations: 1.344 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2249, allocations: 5.312 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.225, allocations: 37.77 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.2254, allocations: 309.6 kB / 403.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.2258, allocations: 123.1 kB / 403.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.52e-05/0.2258, allocations: 41.55 kB / 403.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2259, allocations: 1.031 kB / 403.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2259, allocations: 31.56 kB / 403.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.2259, allocations: 3.938 kB / 403.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003505/0.2294, allocations: 0.9251 MB / 404.2 MB, free: 9.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.2294, allocations: 57.56 kB / 404.3 MB, free: 8.941 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.2295, allocations: 112.8 kB / 404.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.2295, allocations: 35.2 kB / 404.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.2296, allocations: 85.33 kB / 404.5 MB, free: 8.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.2296, allocations: 65.92 kB / 404.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.2297, allocations: 34.31 kB / 404.6 MB, free: 8.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.2297, allocations: 320.1 kB / 404.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.2298, allocations: 44.12 kB / 405 MB, free: 8.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.403e-05/0.2299, allocations: 60.89 kB / 405 MB, free: 8.34 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.002694/0.2326, allocations: 0.5701 MB / 405.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2326, allocations: 1.031 kB / 405.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008864/0.2335, allocations: 278.3 kB / 405.9 MB, free: 8.133 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2335, allocations: 6.125 kB / 405.9 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2335, allocations: 0.9844 kB / 405.9 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009025/0.2344, allocations: 167.5 kB / 406.1 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.2345, allocations: 18.52 kB / 406.1 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.2368, allocations: 1.988 MB / 408.1 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.2369, allocations: 7.438 kB / 408.1 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2369, allocations: 7.594 kB / 408.1 MB, free: 6.367 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 8.082e-05/0.237, allocations: 122 kB / 408.2 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.237, allocations: 8 kB / 408.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.2371, allocations: 21.64 kB / 408.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2371, allocations: 7.375 kB / 408.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2371, allocations: 0 / 408.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2371, allocations: 1.219 kB / 408.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.2384, allocations: 0.5648 MB / 408.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2384, allocations: 2.375 kB / 408.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.2384, allocations: 15.05 kB / 408.8 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/0.2405, allocations: 291.5 kB / 409.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2405, allocations: 7.375 kB / 409.1 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.2427, allocations: 1.98 MB / 411.1 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2427, allocations: 1.469 kB / 411.1 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2437, allocations: 424.8 kB / 411.5 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.2437, allocations: 85.75 kB / 411.6 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.2438, allocations: 5.781 kB / 411.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2439, allocations: 2.406 kB / 411.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.2439, allocations: 20.08 kB / 411.6 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.2439, allocations: 12.8 kB / 411.6 MB, free: 3.707 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.979e-05/0.244, allocations: 88.16 kB / 411.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.244, allocations: 3.938 kB / 411.7 MB, free: 3.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.2443, allocations: 31.12 kB / 411.7 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.001132/0.2455, allocations: 0.9585 MB / 412.7 MB, free: 2.848 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007409/0.2462, allocations: 319.4 kB / 413 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2462, allocations: 0 / 413 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.2468, allocations: 253.3 kB / 413.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.247, allocations: 10.19 kB / 413.3 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.2498, allocations: 1.954 MB / 415.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2499, allocations: 0.706 MB / 415.9 MB, free: 320 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.447e-05/0.2499, allocations: 5.938 kB / 415.9 MB, free: 320 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.25, allocations: 21.3 kB / 416 MB, free: 304 kB / 286.1 MB Notification: Performance of SimCode: time 1.102e-06/0.25, allocations: 3.938 kB / 416 MB, free: 300 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.2803, allocations: 3.097 MB / 419.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.419/9.699, allocations: 18.81 kB / 419.1 MB, free: 15.84 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)