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.00142/0.00142, 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.001423/0.001424, allocations: 193.6 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.567/1.567, allocations: 222.9 MB / 240.2 MB, free: 4.262 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.002943/0.002943, allocations: 0.5702 MB / 291 MB, free: 1.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 351.7 MB, free: 2.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1165, allocations: 49.6 MB / 401.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001963/0.1185, allocations: 0.5613 MB / 401.8 MB, free: 0 / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2049/0.3235, allocations: 44.72 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.3235, allocations: 2.938 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.3236, allocations: 8.031 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.3237, allocations: 5.844 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.953e-05/0.3238, allocations: 14.06 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.3239, allocations: 52.92 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.324, allocations: 4.734 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.324, allocations: 20.38 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.3241, allocations: 33.31 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.3241, allocations: 3.688 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.3242, allocations: 4.5 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.3242, allocations: 11.92 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.3242, allocations: 24.73 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.3244, allocations: 33.7 kB / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3244, allocations: 0 / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3244, allocations: 3.75 kB / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3244, allocations: 0.9375 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.0005314/0.3249, allocations: 373.5 kB / 402.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.325, allocations: 13.23 kB / 402.5 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.325, allocations: 35.88 kB / 402.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3251, allocations: 12.22 kB / 402.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3252, allocations: 176 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3252, allocations: 6.156 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3252, allocations: 12.92 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3254, allocations: 76.44 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3254, allocations: 3.938 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3254, allocations: 0.875 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3254, allocations: 1.797 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.3255, allocations: 45.5 kB / 402.8 MB, free: 9.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.326, allocations: 306.6 kB / 403.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.3263, allocations: 108.8 kB / 403.2 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.3264, allocations: 33.91 kB / 403.3 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3264, allocations: 1.531 kB / 403.3 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.3264, allocations: 31.47 kB / 403.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3264, allocations: 0.9375 kB / 403.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.00323/0.3297, allocations: 0.8582 MB / 404.2 MB, free: 9 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3297, allocations: 52.38 kB / 404.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.3298, allocations: 113.5 kB / 404.3 MB, free: 8.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3298, allocations: 30.27 kB / 404.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.3299, allocations: 93.59 kB / 404.4 MB, free: 8.719 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3299, allocations: 58.53 kB / 404.5 MB, free: 8.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.33, allocations: 33.59 kB / 404.5 MB, free: 8.664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.33, allocations: 327 kB / 404.8 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.3301, allocations: 40.03 kB / 404.9 MB, free: 8.344 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.3302, allocations: 67.89 kB / 405 MB, free: 8.324 MB / 286.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.002581/0.3328, allocations: 474.9 kB / 405.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3328, allocations: 0 / 405.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001499/0.3343, allocations: 329.3 kB / 405.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3343, allocations: 5.844 kB / 405.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3343, allocations: 0 / 405.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.3362, allocations: 267.2 kB / 406 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.3363, allocations: 16.56 kB / 406 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.3393, allocations: 1.948 MB / 408 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.3394, allocations: 6.562 kB / 408 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3394, allocations: 3.938 kB / 408 MB, free: 6.594 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.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.0002015/0.3396, allocations: 115.4 kB / 408.1 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.3396, allocations: 11.12 kB / 408.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.3397, allocations: 19.08 kB / 408.1 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3397, allocations: 6.438 kB / 408.1 MB, free: 6.449 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.3397, allocations: 5.719 kB / 408.1 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3397, allocations: 0.6562 kB / 408.1 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3399, allocations: 205.3 kB / 408.3 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3399, allocations: 0.6562 kB / 408.3 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.34, allocations: 9.234 kB / 408.3 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/0.3419, allocations: 283.9 kB / 408.6 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3419, allocations: 2.391 kB / 408.6 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.3439, allocations: 1.939 MB / 410.6 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3439, allocations: 1.125 kB / 410.6 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3449, allocations: 407.3 kB / 411 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.345, allocations: 80.25 kB / 411 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.345, allocations: 5.531 kB / 411 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3451, allocations: 9.859 kB / 411.1 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3452, allocations: 10.83 kB / 411.1 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3452, allocations: 8.141 kB / 411.1 MB, free: 4.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.3452, allocations: 87.83 kB / 411.2 MB, free: 4.082 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3452, allocations: 0 / 411.2 MB, free: 4.082 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.3456, allocations: 36.94 kB / 411.2 MB, free: 4.074 MB / 286.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.001235/0.3469, allocations: 0.9286 MB / 412.1 MB, free: 3.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008949/0.3478, allocations: 344.7 kB / 412.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3478, allocations: 64 / 412.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.3481, allocations: 226.7 kB / 412.7 MB, free: 2.973 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.3484, allocations: 6.031 kB / 412.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.3524, allocations: 2.027 MB / 414.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.3525, allocations: 0.704 MB / 415.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.216e-05/0.3526, allocations: 11.19 kB / 415.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.3526, allocations: 27.27 kB / 415.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3526, allocations: 0 / 415.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.3885, allocations: 3.699 MB / 419.2 MB, free: 292 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.21, allocations: 18.98 kB / 419.2 MB, free: 272 kB / 286.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)