Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",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.00153/0.00153, 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.001855/0.001855, allocations: 197 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.002637/0.002637, allocations: 0.5662 MB / 291 MB, free: 1.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 351.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09339, allocations: 49.6 MB / 401.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001962/0.09538, allocations: 0.5807 MB / 401.8 MB, free: 0 / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1612/0.2567, allocations: 39 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.2567, allocations: 0 / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.2567, allocations: 3.844 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.2569, allocations: 10.03 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.739e-05/0.257, allocations: 12.08 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.2571, allocations: 46.28 kB / 401.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.2571, allocations: 4.875 kB / 401.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.2571, allocations: 24.16 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.2572, allocations: 33.3 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2572, allocations: 7.375 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.2573, allocations: 3.594 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.2573, allocations: 12.16 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.2573, allocations: 20.94 kB / 402 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.46e-05/0.2574, allocations: 34.17 kB / 402.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2574, allocations: 1.188 kB / 402.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2574, allocations: 0 / 402.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2575, allocations: 0 / 402.1 MB, free: 10.3 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.0004348/0.2579, allocations: 373.5 kB / 402.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2579, allocations: 9.969 kB / 402.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.258, allocations: 38.28 kB / 402.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.258, allocations: 7.344 kB / 402.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.2581, allocations: 173.8 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2581, allocations: 9.688 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.2581, allocations: 8.469 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.2583, allocations: 72.02 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.2583, allocations: 8.969 kB / 402.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2583, allocations: 3.25 kB / 402.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2583, allocations: 2.062 kB / 402.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.2584, allocations: 42.25 kB / 402.8 MB, free: 9.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.2588, allocations: 312.6 kB / 403.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.2591, allocations: 109.2 kB / 403.2 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.2592, allocations: 34.2 kB / 403.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.2592, allocations: 1.5 kB / 403.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.2592, allocations: 34.94 kB / 403.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.2592, allocations: 0 / 403.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003233/0.2625, allocations: 0.8552 MB / 404.1 MB, free: 8.996 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.2625, allocations: 54.05 kB / 404.2 MB, free: 8.934 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.2626, allocations: 110 kB / 404.3 MB, free: 8.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2626, allocations: 25.7 kB / 404.3 MB, free: 8.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.2626, allocations: 99.06 kB / 404.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2627, allocations: 53.83 kB / 404.5 MB, free: 8.676 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.2627, allocations: 33.52 kB / 404.5 MB, free: 8.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.2628, allocations: 322.6 kB / 404.8 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.2629, allocations: 40.06 kB / 404.9 MB, free: 8.344 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.2629, allocations: 57.3 kB / 404.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2631, allocations: 115.6 kB / 405 MB, free: 8.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2631, allocations: 0 / 405 MB, free: 8.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009317/0.2641, allocations: 259 kB / 405.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2641, allocations: 10.91 kB / 405.3 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2641, allocations: 0 / 405.3 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/0.265, allocations: 152.2 kB / 405.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.2651, allocations: 22.03 kB / 405.5 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.2671, allocations: 1.934 MB / 407.4 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.2672, allocations: 4.906 kB / 407.4 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2672, allocations: 3.844 kB / 407.4 MB, free: 6.547 MB / 286.1 MB 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 6.57e-05/0.2673, allocations: 125.2 kB / 407.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.2673, allocations: 4.25 kB / 407.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.2674, allocations: 19.06 kB / 407.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2674, allocations: 1.031 kB / 407.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2674, allocations: 2.781 kB / 407.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2674, allocations: 12.66 kB / 407.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.2676, allocations: 198.3 kB / 407.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2676, allocations: 0.5625 kB / 407.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.2677, allocations: 15.12 kB / 407.8 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.2695, allocations: 286.8 kB / 408.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2695, allocations: 1.312 kB / 408.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.2714, allocations: 1.935 MB / 410 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2714, allocations: 0 / 410 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000979/0.2724, allocations: 411.7 kB / 410.4 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.2724, allocations: 85.34 kB / 410.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2724, allocations: 8.594 kB / 410.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2725, allocations: 1.781 kB / 410.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.2726, allocations: 18.86 kB / 410.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.2726, allocations: 4.953 kB / 410.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.2726, allocations: 88.53 kB / 410.6 MB, free: 4.027 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2726, allocations: 0 / 410.6 MB, free: 4.027 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.273, allocations: 28.03 kB / 410.6 MB, free: 4.023 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.001145/0.2741, allocations: 0.9403 MB / 411.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004756/0.2746, allocations: 283 kB / 411.9 MB, free: 3.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2746, allocations: 0 / 411.9 MB, free: 3.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.2749, allocations: 221 kB / 412.1 MB, free: 2.938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2752, allocations: 10.97 kB / 412.1 MB, free: 2.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.2779, allocations: 1.885 MB / 414 MB, free: 1.488 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.278, allocations: 0.7069 MB / 414.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.045e-05/0.278, allocations: 4.703 kB / 414.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.2781, allocations: 20.86 kB / 414.7 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2781, allocations: 1.219 kB / 414.7 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.299, allocations: 3.051 MB / 417.7 MB, free: 376 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.912/9.211, allocations: 17.84 kB / 417.8 MB, free: 364 kB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial_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_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)