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.001283/0.001283, 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.001358/0.001358, allocations: 198.9 kB / 16.54 MB, free: 6.672 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.002986/0.002986, allocations: 0.5623 MB / 291 MB, free: 1.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.91 kB / 351.7 MB, free: 2.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1092, allocations: 49.59 MB / 401.3 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.1844/0.2937, allocations: 0.5715 MB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002969/0.294, allocations: 44.77 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.2941, allocations: 1.344 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.2942, allocations: 0 / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.2943, allocations: 14.16 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.2944, allocations: 12.27 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.2945, allocations: 47.12 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.2946, allocations: 3.672 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.2946, allocations: 23.73 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.2947, allocations: 34.84 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2947, allocations: 3.594 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.2947, allocations: 2.625 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.2948, allocations: 8.344 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.2948, allocations: 26.94 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.398e-05/0.2949, allocations: 30.92 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2949, allocations: 0.9062 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2949, allocations: 0 / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.295, allocations: 2.25 kB / 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.0005001/0.2955, allocations: 370.7 kB / 402.4 MB, free: 9.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2955, allocations: 10.91 kB / 402.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.2956, allocations: 37.56 kB / 402.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.2956, allocations: 12.34 kB / 402.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2957, allocations: 177.1 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2958, allocations: 6.719 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.2958, allocations: 5.844 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.2959, allocations: 71.84 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.296, allocations: 3.938 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.296, allocations: 0.7188 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.296, allocations: 6.75 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.2961, allocations: 37.02 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.2966, allocations: 319.4 kB / 403.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.2969, allocations: 104.2 kB / 403.2 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.2969, allocations: 34.72 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.297, allocations: 0.7812 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.297, allocations: 34.91 kB / 403.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.297, allocations: 4 kB / 403.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.00334/0.3003, allocations: 0.8531 MB / 404.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3004, allocations: 53.62 kB / 404.2 MB, free: 8.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.3005, allocations: 115.3 kB / 404.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3005, allocations: 30.45 kB / 404.3 MB, free: 8.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.3006, allocations: 91.38 kB / 404.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.3006, allocations: 60.12 kB / 404.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.3007, allocations: 32.19 kB / 404.5 MB, free: 8.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.3008, allocations: 323.3 kB / 404.8 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.3008, allocations: 40.14 kB / 404.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.3009, allocations: 55.25 kB / 404.9 MB, free: 8.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3011, allocations: 112 kB / 405 MB, free: 8.316 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3011, allocations: 1.031 kB / 405 MB, free: 8.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009102/0.302, allocations: 270.2 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3021, allocations: 5.375 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3021, allocations: 1.438 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000961/0.3031, allocations: 150.5 kB / 405.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.3032, allocations: 21.28 kB / 405.5 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.3052, allocations: 1.939 MB / 407.4 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.3053, allocations: 2.219 kB / 407.4 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3053, allocations: 9.234 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 8.067e-05/0.3054, allocations: 120.5 kB / 407.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.3054, allocations: 3.969 kB / 407.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.3055, allocations: 23.69 kB / 407.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3055, allocations: 5.219 kB / 407.6 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.3055, allocations: 5.188 kB / 407.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3055, allocations: 6.266 kB / 407.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.3057, allocations: 196.3 kB / 407.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3057, allocations: 1.531 kB / 407.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.3058, allocations: 14.31 kB / 407.8 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.3076, allocations: 275.8 kB / 408.1 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3076, allocations: 6.562 kB / 408.1 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.3095, allocations: 1.927 MB / 410 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3095, allocations: 5.312 kB / 410 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3106, allocations: 412.4 kB / 410.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.3106, allocations: 85.77 kB / 410.5 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3106, allocations: 7.938 kB / 410.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3108, allocations: 5.781 kB / 410.5 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.3108, allocations: 10.95 kB / 410.5 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3108, allocations: 4.906 kB / 410.5 MB, free: 4.117 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.867e-05/0.3109, allocations: 88.44 kB / 410.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3109, allocations: 0 / 410.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.3112, allocations: 29.88 kB / 410.6 MB, free: 4.035 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.001173/0.3124, allocations: 0.9363 MB / 411.6 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005664/0.313, allocations: 286.2 kB / 411.8 MB, free: 3.098 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.313, allocations: 1.219 kB / 411.8 MB, free: 3.098 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.3133, allocations: 222.3 kB / 412.1 MB, free: 2.945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.3136, allocations: 13.81 kB / 412.1 MB, free: 2.938 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.3164, allocations: 1.89 MB / 414 MB, free: 1.488 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.3166, allocations: 0.7035 MB / 414.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.3166, allocations: 8.531 kB / 414.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.3167, allocations: 25.06 kB / 414.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3167, allocations: 0 / 414.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.3489, allocations: 3.044 MB / 417.8 MB, free: 368 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.692/10.04, allocations: 13.98 kB / 417.8 MB, free: 356 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)