Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 208 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.00302/0.00302, allocations: 0.5651 MB / 313 MB, free: 2.297 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.88 kB / 435.1 MB, free: 16.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1029, allocations: 53.52 MB / 488.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4448/0.5477, allocations: 158.3 MB / 0.6318 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.5532, allocations: 2.981 MB / 0.6347 GB, free: 9.066 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.5538, allocations: 35.69 kB / 0.6347 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.5549, allocations: 397.5 kB / 0.6351 GB, free: 8.641 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.5589, allocations: 1.653 MB / 0.6367 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.5619, allocations: 1.119 MB / 0.6378 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.5649, allocations: 2.415 MB / 0.6402 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008829/0.5657, allocations: 0.5143 MB / 0.6407 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.5678, allocations: 1.036 MB / 0.6417 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.569, allocations: 0.7549 MB / 0.6424 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.5692, allocations: 80 kB / 0.6425 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.5712, allocations: 0.8369 MB / 0.6433 GB, free: 220 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.5715, allocations: 331 kB / 0.6436 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.572, allocations: 422.3 kB / 0.644 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.5745, allocations: 1.717 MB / 0.6457 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5745, allocations: 0 / 0.6457 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5745, allocations: 0 / 0.6457 GB, free: 13.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.5746, allocations: 0 / 0.6457 GB, free: 13.75 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002517/0.5771, allocations: 1.245 MB / 0.6469 GB, free: 12.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5771, allocations: 8.031 kB / 0.6469 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.5773, allocations: 122.5 kB / 0.647 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.5784, allocations: 175.3 kB / 0.6472 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5795, allocations: 0.5323 MB / 0.6477 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.5797, allocations: 283.6 kB / 0.648 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.5798, allocations: 68 kB / 0.6481 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.582, allocations: 1.488 MB / 0.6495 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.582, allocations: 3.938 kB / 0.6495 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/0.5821, allocations: 39.98 kB / 0.6496 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.5821, allocations: 29.31 kB / 0.6496 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.5835, allocations: 0.7893 MB / 0.6504 GB, free: 8.66 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/0.5894, allocations: 4.612 MB / 0.6549 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.5902, allocations: 373.7 kB / 0.6552 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.5905, allocations: 220.6 kB / 0.6554 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.5907, allocations: 31.98 kB / 0.6555 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.5907, allocations: 38.56 kB / 0.6555 GB, free: 3.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.365e-06/0.5907, allocations: 0 / 0.6555 GB, free: 3.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.00716/0.5979, allocations: 2.194 MB / 0.6576 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.5979, allocations: 107.3 kB / 0.6577 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.5988, allocations: 0.7108 MB / 0.6584 GB, free: 124 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.5989, allocations: 37.7 kB / 0.6585 GB, free: 80 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.5993, allocations: 479.5 kB / 0.6589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.5995, allocations: 210.3 kB / 0.6591 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.5998, allocations: 234.8 kB / 0.6594 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.6, allocations: 386.8 kB / 0.6597 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.6005, allocations: 282.5 kB / 0.66 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/0.6014, allocations: 0.8131 MB / 0.6608 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/0.6167, allocations: 3.036 MB / 0.6638 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.6167, allocations: 11.92 kB / 0.6638 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002208/0.6189, allocations: 1.26 MB / 0.665 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.6189, allocations: 15.94 kB / 0.665 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.6189, allocations: 16 kB / 0.665 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.6208, allocations: 469.4 kB / 0.6655 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.6213, allocations: 187.7 kB / 0.6657 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.6228, allocations: 1.108 MB / 0.6667 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/0.6234, allocations: 40.03 kB / 0.6668 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.6235, allocations: 99.98 kB / 0.6669 GB, free: 6.949 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.V2.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004556/0.624, allocations: 297 kB / 0.6672 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.6242, allocations: 83.48 kB / 0.6672 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.6265, allocations: 1.194 MB / 0.6684 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6265, allocations: 8 kB / 0.6684 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6265, allocations: 7.875 kB / 0.6684 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6265, allocations: 7.984 kB / 0.6684 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.6295, allocations: 1.586 MB / 0.67 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.6295, allocations: 0 / 0.67 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.6299, allocations: 99.98 kB / 0.6701 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.6313, allocations: 288.4 kB / 0.6703 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.6314, allocations: 31.98 kB / 0.6704 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000994/0.6323, allocations: 0.8442 MB / 0.6712 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6324, allocations: 3.938 kB / 0.6712 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.6344, allocations: 1.126 MB / 0.6723 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.6348, allocations: 143.4 kB / 0.6724 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.6349, allocations: 16 kB / 0.6725 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.6353, allocations: 23.98 kB / 0.6725 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.6354, allocations: 48.42 kB / 0.6725 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/0.6355, allocations: 63.97 kB / 0.6726 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006123/0.6361, allocations: 475 kB / 0.673 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6361, allocations: 0 / 0.673 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001196/0.6373, allocations: 347.5 kB / 0.6734 GB, free: 156 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (44): * Single equations (assignments): 43 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003158/0.6405, allocations: 1.943 MB / 0.6753 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.6421, allocations: 0.7529 MB / 0.676 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6421, allocations: 0 / 0.676 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/0.6429, allocations: 326.6 kB / 0.6763 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.6448, allocations: 419.5 kB / 0.6767 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.6563, allocations: 7.595 MB / 0.6841 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.6567, allocations: 389.4 kB / 0.6845 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001337/0.6581, allocations: 0.5682 MB / 0.6851 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/0.6587, allocations: 347.3 kB / 0.6854 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.6587, allocations: 0 / 0.6854 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2647/0.9233, allocations: 30.38 MB / 0.7151 GB, free: 196.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.76, allocations: 5.156 kB / 0.7151 GB, free: 196.3 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature_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_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.510019368026406] Failed to read output from testmodel.py, exit status != 0: 14.898815402761102 14.923710245 14.344971151 Calling exit ...