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.001586/0.001586, 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.00157/0.00157, allocations: 196.8 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.00291/0.00291, allocations: 0.5546 MB / 291 MB, free: 1.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.91 kB / 351.7 MB, free: 2.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 49.59 MB / 401.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.165/0.2709, allocations: 0.5636 MB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.2713, allocations: 48.06 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.2713, allocations: 3.469 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.2714, allocations: 2.219 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.337e-05/0.2715, allocations: 4.688 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.2716, allocations: 15.58 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.451e-05/0.2717, allocations: 49.78 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.732e-05/0.2718, allocations: 11.05 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.2718, allocations: 19.97 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.2719, allocations: 30.53 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.272, allocations: 3.938 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.272, allocations: 2.5 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.272, allocations: 8.406 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.2721, allocations: 31.47 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.2721, allocations: 27.44 kB / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2722, allocations: 0 / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2722, allocations: 0.8438 kB / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2722, allocations: 1.531 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.0005328/0.2727, allocations: 370.9 kB / 402.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2728, allocations: 9.828 kB / 402.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.2728, allocations: 37.55 kB / 402.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.2728, allocations: 8.547 kB / 402.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.273, allocations: 182.2 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.273, allocations: 4.453 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.273, allocations: 9.594 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2732, allocations: 72.44 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2732, allocations: 3.938 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2732, allocations: 1.625 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.2732, allocations: 5.562 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.2733, allocations: 36.88 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.2739, allocations: 319.4 kB / 403.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.2743, allocations: 110.3 kB / 403.2 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.2743, allocations: 34.42 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.2744, allocations: 0.5938 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2744, allocations: 32.98 kB / 403.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2744, allocations: 0 / 403.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003558/0.2779, allocations: 0.8562 MB / 404.2 MB, free: 9.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.278, allocations: 53.38 kB / 404.2 MB, free: 8.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.2781, allocations: 108.5 kB / 404.3 MB, free: 8.848 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2781, allocations: 30.36 kB / 404.3 MB, free: 8.816 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.2782, allocations: 97.16 kB / 404.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.2783, allocations: 55.19 kB / 404.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.2783, allocations: 33.09 kB / 404.5 MB, free: 8.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.2784, allocations: 323.6 kB / 404.8 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.2785, allocations: 39.67 kB / 404.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2786, allocations: 57.83 kB / 404.9 MB, free: 8.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.2788, allocations: 110.1 kB / 405 MB, free: 8.316 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2788, allocations: 1.344 kB / 405 MB, free: 8.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009668/0.2798, allocations: 260.3 kB / 405.3 MB, free: 8.262 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2798, allocations: 14.39 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2798, allocations: 1.562 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009642/0.2808, allocations: 151.8 kB / 405.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.2809, allocations: 18.19 kB / 405.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.2829, allocations: 1.939 MB / 407.4 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.283, allocations: 6.156 kB / 407.4 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.283, allocations: 5.594 kB / 407.4 MB, free: 6.551 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 7.056e-05/0.2831, allocations: 125.3 kB / 407.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.2831, allocations: 3.188 kB / 407.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.2832, allocations: 18.12 kB / 407.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2832, allocations: 2.25 kB / 407.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2832, allocations: 10.56 kB / 407.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2832, allocations: 0.7969 kB / 407.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.2834, allocations: 200 kB / 407.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2834, allocations: 0 / 407.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.2835, allocations: 10.5 kB / 407.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.2853, allocations: 278.3 kB / 408.1 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2853, allocations: 2.703 kB / 408.1 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.2871, allocations: 1.937 MB / 410 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2872, allocations: 1.969 kB / 410 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.2883, allocations: 412.2 kB / 410.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.2883, allocations: 83.3 kB / 410.5 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2884, allocations: 10.41 kB / 410.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2885, allocations: 2.078 kB / 410.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.2885, allocations: 19.16 kB / 410.5 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.2885, allocations: 3.219 kB / 410.5 MB, free: 4.117 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.2886, allocations: 88.66 kB / 410.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2886, allocations: 0 / 410.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000342/0.2889, allocations: 30.09 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.00114/0.2901, allocations: 0.9381 MB / 411.6 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.2906, allocations: 285.3 kB / 411.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2906, allocations: 0 / 411.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.2909, allocations: 222 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.0002202/0.2911, allocations: 9.766 kB / 412.1 MB, free: 2.941 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.2938, allocations: 1.885 MB / 414 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.2939, allocations: 0.7069 MB / 414.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.012e-05/0.2939, allocations: 9.812 kB / 414.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.294, allocations: 26.22 kB / 414.7 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.294, allocations: 0.9688 kB / 414.7 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.3253, allocations: 3.047 MB / 417.8 MB, free: 364 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.855/10.18, allocations: 10.14 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)