Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.000844/0.000844, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001098/0.001098, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8969/0.8969, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.002115/0.002115, allocations: 419.5 kB / 259.6 MB, free: 12.84 MB / 250.7 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.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 381.8 MB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.632e-05, allocations: 5.234 kB / 381.8 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.3043/0.3043, allocations: 158.3 MB / 0.5274 GB, free: 2.816 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.3085, allocations: 3.002 MB / 0.5303 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008224/0.3093, allocations: 28.88 kB / 0.5303 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009216/0.3102, allocations: 396.9 kB / 0.5307 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.314, allocations: 1.701 MB / 0.5324 GB, free: 15.6 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.3165, allocations: 1.132 MB / 0.5335 GB, free: 15.04 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.3192, allocations: 2.447 MB / 0.5359 GB, free: 13.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008902/0.3201, allocations: 0.5192 MB / 0.5364 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.3224, allocations: 1.311 MB / 0.5376 GB, free: 13.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.3235, allocations: 0.7093 MB / 0.5383 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.3236, allocations: 79.41 kB / 0.5384 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.3255, allocations: 0.8484 MB / 0.5392 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.3258, allocations: 336 kB / 0.5396 GB, free: 12.31 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.3262, allocations: 365.8 kB / 0.5399 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.3289, allocations: 1.821 MB / 0.5417 GB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3289, allocations: 0 / 0.5417 GB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3289, allocations: 0 / 0.5417 GB, free: 11.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.788e-05/0.3289, allocations: 0 / 0.5417 GB, free: 11.02 MB / 426.7 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.002084/0.331, allocations: 1.244 MB / 0.5429 GB, free: 10.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3311, allocations: 10.5 kB / 0.5429 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.3312, allocations: 131.6 kB / 0.543 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006459/0.3318, allocations: 172.5 kB / 0.5432 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.3327, allocations: 0.5141 MB / 0.5437 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.3328, allocations: 292.3 kB / 0.544 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.3329, allocations: 72.08 kB / 0.5441 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3342, allocations: 1.486 MB / 0.5455 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3342, allocations: 2.875 kB / 0.5455 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.3343, allocations: 30.53 kB / 0.5455 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.3344, allocations: 36.09 kB / 0.5456 GB, free: 7.922 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.3352, allocations: 0.7795 MB / 0.5463 GB, free: 7.543 MB / 426.7 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.004041/0.3393, allocations: 4.615 MB / 0.5508 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.3398, allocations: 381.5 kB / 0.5512 GB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.34, allocations: 212.9 kB / 0.5514 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.3401, allocations: 31.8 kB / 0.5514 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3402, allocations: 37.25 kB / 0.5515 GB, free: 3.273 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.196e-06/0.3402, allocations: 0 / 0.5515 GB, free: 3.273 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.006124/0.3463, allocations: 2.862 MB / 0.5543 GB, free: 1.211 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.3464, allocations: 107.3 kB / 0.5544 GB, free: 1.082 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.347, allocations: 0.7031 MB / 0.5551 GB, free: 376 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.3471, allocations: 37.7 kB / 0.5551 GB, free: 332 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.3473, allocations: 471.7 kB / 0.5555 GB, free: 15.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.3475, allocations: 210.3 kB / 0.5557 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.3477, allocations: 226.8 kB / 0.556 GB, free: 15.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3478, allocations: 386.8 kB / 0.5563 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.3481, allocations: 283.9 kB / 0.5566 GB, free: 14.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.3487, allocations: 0.8248 MB / 0.5574 GB, free: 13.68 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007545/0.3562, allocations: 3.222 MB / 0.5606 GB, free: 10.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3562, allocations: 7.125 kB / 0.5606 GB, free: 10.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001474/0.3577, allocations: 1.217 MB / 0.5617 GB, free: 9.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.3577, allocations: 12 kB / 0.5618 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.3577, allocations: 19.75 kB / 0.5618 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/0.3583, allocations: 273.1 kB / 0.562 GB, free: 8.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.3586, allocations: 211.6 kB / 0.5622 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006538/0.3593, allocations: 0.9072 MB / 0.5631 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.3598, allocations: 44.03 kB / 0.5632 GB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/0.3599, allocations: 95.98 kB / 0.5633 GB, free: 7.438 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: V1.medium.p = V1.p_start. 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 (113): * Single equations (assignments): 112 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.3603, allocations: 301.4 kB / 0.5635 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3604, allocations: 83.48 kB / 0.5636 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.3618, allocations: 1.185 MB / 0.5648 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3618, allocations: 8 kB / 0.5648 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3618, allocations: 3.938 kB / 0.5648 GB, free: 5.844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3618, allocations: 14.62 kB / 0.5648 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.3638, allocations: 1.586 MB / 0.5664 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3638, allocations: 0.875 kB / 0.5664 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.364, allocations: 91.89 kB / 0.5664 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/0.3647, allocations: 297.8 kB / 0.5667 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.3647, allocations: 27.98 kB / 0.5668 GB, free: 3.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005917/0.3653, allocations: 0.8255 MB / 0.5676 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3653, allocations: 7.938 kB / 0.5676 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.3666, allocations: 1.124 MB / 0.5687 GB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.3669, allocations: 143.4 kB / 0.5688 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.367, allocations: 16 kB / 0.5688 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3672, allocations: 23.98 kB / 0.5688 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.3673, allocations: 48.42 kB / 0.5689 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.3673, allocations: 59.97 kB / 0.5689 GB, free: 1.465 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004211/0.3678, allocations: 479 kB / 0.5694 GB, free: 1 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3678, allocations: 0 / 0.5694 GB, free: 1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009603/0.3687, allocations: 351.5 kB / 0.5697 GB, free: 0.6562 MB / 442.7 MB 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.002076/0.3708, allocations: 1.963 MB / 0.5717 GB, free: 14.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.3719, allocations: 0.7621 MB / 0.5724 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3719, allocations: 0 / 0.5724 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.3723, allocations: 319 kB / 0.5727 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3735, allocations: 424.5 kB / 0.5731 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/0.3812, allocations: 7.401 MB / 0.5803 GB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3814, allocations: 397.3 kB / 0.5807 GB, free: 4.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000926/0.3824, allocations: 0.5814 MB / 0.5813 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.3827, allocations: 340.4 kB / 0.5816 GB, free: 3.836 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3827, allocations: 7.938 kB / 0.5816 GB, free: 3.828 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04579/0.4285, allocations: 29.91 MB / 0.6108 GB, free: 6.395 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.136/9.564, allocations: 0 / 0.6108 GB, free: 6.395 MB / 490.7 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial_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_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.64840604737401] Failed to read output from testmodel.py, exit status != 0: 9.670132175087929 9.83647761 9.505982138 Calling exit ...