Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",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.006577/0.006577, allocations: 99.34 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.00136, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.003258/0.003258, allocations: 0.5737 MB / 291.1 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1628/0.1628, allocations: 67.02 kB / 401.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.2692, allocations: 49.59 MB / 451.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001657/0.2709, allocations: 0.5867 MB / 452.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.2712, allocations: 46.89 kB / 452.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.2712, allocations: 0 / 452.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.2713, allocations: 0 / 452.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.2713, allocations: 7.875 kB / 452.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.2715, allocations: 15.97 kB / 452.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.353e-05/0.2716, allocations: 55.84 kB / 452.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.2716, allocations: 3.984 kB / 452.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.2717, allocations: 27.91 kB / 452.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.2718, allocations: 27.84 kB / 452.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.2718, allocations: 4 kB / 452.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2718, allocations: 0 / 452.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.2718, allocations: 15.98 kB / 452.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.2719, allocations: 27.84 kB / 452.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.499e-05/0.272, allocations: 30.52 kB / 452.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.272, allocations: 0 / 452.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.272, allocations: 7.938 kB / 452.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.272, allocations: 0 / 452.4 MB, free: 5.055 MB / 318.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.0005233/0.2725, allocations: 368.3 kB / 452.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2726, allocations: 15.89 kB / 452.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2726, allocations: 38.73 kB / 452.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.2726, allocations: 8.891 kB / 452.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2728, allocations: 176.2 kB / 453 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2728, allocations: 12.38 kB / 453 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.2728, allocations: 4.375 kB / 453 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.273, allocations: 74.22 kB / 453.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.273, allocations: 3.938 kB / 453.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.273, allocations: 7.984 kB / 453.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.273, allocations: 4 kB / 453.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.2731, allocations: 31.98 kB / 453.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.2736, allocations: 316.7 kB / 453.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.2739, allocations: 126.6 kB / 453.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.274, allocations: 36.8 kB / 453.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.274, allocations: 4 kB / 453.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.274, allocations: 34.55 kB / 453.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2741, allocations: 4 kB / 453.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.002551/0.2766, allocations: 0.7859 MB / 454.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2767, allocations: 55.41 kB / 454.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.2768, allocations: 109.8 kB / 454.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2768, allocations: 33.7 kB / 454.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.2768, allocations: 92.39 kB / 454.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.2769, allocations: 59.5 kB / 454.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.277, allocations: 37.7 kB / 454.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2771, allocations: 318.8 kB / 455.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.2771, allocations: 43.98 kB / 455.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.2772, allocations: 66.62 kB / 455.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/0.2798, allocations: 0.5681 MB / 455.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2798, allocations: 0 / 455.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001526/0.2813, allocations: 373.9 kB / 456.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2813, allocations: 7.938 kB / 456.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2813, allocations: 0 / 456.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.283, allocations: 292.1 kB / 456.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.2831, allocations: 15.98 kB / 456.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.2868, allocations: 2.365 MB / 458.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.2869, allocations: 8 kB / 458.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.287, allocations: 4 kB / 458.8 MB, free: 14.15 MB / 334.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.p2 = 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.2872, allocations: 135 kB / 459 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.2872, allocations: 11.95 kB / 459 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.2872, allocations: 16.84 kB / 459 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2873, allocations: 8.031 kB / 459 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2873, allocations: 0 / 459 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2873, allocations: 4 kB / 459 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.2885, allocations: 0.572 MB / 459.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2885, allocations: 4 kB / 459.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.2886, allocations: 8 kB / 459.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.2904, allocations: 288.6 kB / 459.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2904, allocations: 7.984 kB / 459.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.2928, allocations: 1.975 MB / 461.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2929, allocations: 0 / 461.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.2939, allocations: 438.6 kB / 462.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.2939, allocations: 85.09 kB / 462.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2939, allocations: 11.94 kB / 462.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.294, allocations: 4 kB / 462.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.2941, allocations: 15.98 kB / 462.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.2941, allocations: 11.92 kB / 462.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.2942, allocations: 87.58 kB / 462.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2942, allocations: 0 / 462.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00036/0.2945, allocations: 36 kB / 462.5 MB, free: 10.21 MB / 334.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.001259/0.2958, allocations: 0.9704 MB / 463.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006693/0.2965, allocations: 306.4 kB / 463.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/0.2965, allocations: 4 kB / 463.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.2971, allocations: 262.5 kB / 464 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.2974, allocations: 15.94 kB / 464.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.3017, allocations: 2.136 MB / 466.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.302, allocations: 0.7162 MB / 466.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.302, allocations: 8.875 kB / 466.9 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.3021, allocations: 23.44 kB / 466.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3021, allocations: 0 / 466.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03922/0.3413, allocations: 4.024 MB / 471 MB, free: 1.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.11, allocations: 14.8 kB / 471 MB, free: 1.758 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature_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_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)