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.001999/0.001999, 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.00159/0.00159, allocations: 211.2 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.793 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.003224/0.003224, allocations: 0.5718 MB / 313 MB, free: 2.309 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.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 0.002407/0.002407, allocations: 67.91 kB / 435.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1074, allocations: 53.53 MB / 488.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4232/0.5306, allocations: 158.3 MB / 0.6318 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006259/0.5369, allocations: 2.987 MB / 0.6347 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007033/0.5376, allocations: 35.69 kB / 0.6347 GB, free: 9.074 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.5387, allocations: 385.5 kB / 0.6351 GB, free: 8.695 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004446/0.5432, allocations: 1.658 MB / 0.6367 GB, free: 7.031 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.5461, allocations: 1.118 MB / 0.6378 GB, free: 5.922 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.5496, allocations: 2.454 MB / 0.6402 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009707/0.5506, allocations: 0.5182 MB / 0.6407 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.5529, allocations: 1.032 MB / 0.6417 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.5543, allocations: 0.755 MB / 0.6425 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.5545, allocations: 76 kB / 0.6425 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.5567, allocations: 0.8464 MB / 0.6434 GB, free: 224 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004494/0.5572, allocations: 327 kB / 0.6437 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005498/0.5577, allocations: 422.3 kB / 0.6441 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.5603, allocations: 1.713 MB / 0.6457 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5603, allocations: 0 / 0.6457 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5603, allocations: 0 / 0.6457 GB, free: 13.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.5604, allocations: 0 / 0.6457 GB, free: 13.77 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.002718/0.5631, allocations: 1.248 MB / 0.647 GB, free: 12.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.5631, allocations: 12.03 kB / 0.647 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.5633, allocations: 122.5 kB / 0.6471 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.5644, allocations: 175.3 kB / 0.6473 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5655, allocations: 0.5323 MB / 0.6478 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.5657, allocations: 283.6 kB / 0.6481 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.5659, allocations: 67.98 kB / 0.6481 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.5679, allocations: 1.488 MB / 0.6496 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.5679, allocations: 11.92 kB / 0.6496 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.568, allocations: 32 kB / 0.6496 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.971e-05/0.5681, allocations: 29.31 kB / 0.6496 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.5695, allocations: 0.7777 MB / 0.6504 GB, free: 8.676 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.006543/0.576, allocations: 4.634 MB / 0.6549 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.5768, allocations: 369.7 kB / 0.6553 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.5771, allocations: 226.2 kB / 0.6555 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.5773, allocations: 27.98 kB / 0.6555 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.5773, allocations: 47.47 kB / 0.6556 GB, free: 3.199 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.234e-06/0.5773, allocations: 4 kB / 0.6556 GB, free: 3.195 MB / 494.1 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.0107/0.588, allocations: 2.844 MB / 0.6583 GB, free: 308 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.5881, allocations: 111.3 kB / 0.6585 GB, free: 172 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009763/0.5891, allocations: 0.7031 MB / 0.6591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.5892, allocations: 37.7 kB / 0.6592 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.5896, allocations: 479.4 kB / 0.6596 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.5898, allocations: 214.2 kB / 0.6598 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.5901, allocations: 238.7 kB / 0.6601 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.5903, allocations: 386.8 kB / 0.6604 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.5908, allocations: 282.4 kB / 0.6607 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.5919, allocations: 0.8166 MB / 0.6615 GB, free: 12.76 MB / 0.4981 GB 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.01625/0.6081, allocations: 3.229 MB / 0.6647 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6081, allocations: 8 kB / 0.6647 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002155/0.6103, allocations: 1.221 MB / 0.6659 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.6103, allocations: 12 kB / 0.6659 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.6103, allocations: 16 kB / 0.6659 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009197/0.6112, allocations: 268.7 kB / 0.6661 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.6119, allocations: 211.7 kB / 0.6663 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.6129, allocations: 0.9106 MB / 0.6672 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.6136, allocations: 43.94 kB / 0.6673 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.6137, allocations: 96.03 kB / 0.6674 GB, free: 6.496 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: 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.0004666/0.6142, allocations: 293.3 kB / 0.6676 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.6143, allocations: 79.53 kB / 0.6677 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.6167, allocations: 1.201 MB / 0.6689 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.6167, allocations: 7.938 kB / 0.6689 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6167, allocations: 4 kB / 0.6689 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6167, allocations: 3.984 kB / 0.6689 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.6199, allocations: 1.594 MB / 0.6705 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.6199, allocations: 0 / 0.6705 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.6202, allocations: 95.89 kB / 0.6706 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/0.6217, allocations: 291.5 kB / 0.6708 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.6218, allocations: 31.98 kB / 0.6709 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.6229, allocations: 0.8371 MB / 0.6717 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6229, allocations: 0 / 0.6717 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.6251, allocations: 1.126 MB / 0.6728 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.6255, allocations: 143.5 kB / 0.6729 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6256, allocations: 19.98 kB / 0.6729 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.6261, allocations: 20 kB / 0.673 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.6262, allocations: 52.41 kB / 0.673 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.481e-05/0.6263, allocations: 59.98 kB / 0.6731 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006523/0.6269, allocations: 478.9 kB / 0.6735 GB, free: 44 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6269, allocations: 4 kB / 0.6735 GB, free: 40 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001409/0.6283, allocations: 355.5 kB / 0.6739 GB, free: 15.69 MB / 0.5137 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.003382/0.6317, allocations: 1.939 MB / 0.6758 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.6334, allocations: 0.7577 MB / 0.6765 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6334, allocations: 0 / 0.6765 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.6342, allocations: 327.1 kB / 0.6768 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.6364, allocations: 416.6 kB / 0.6772 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.648, allocations: 7.515 MB / 0.6845 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.6485, allocations: 397.4 kB / 0.6849 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001427/0.6499, allocations: 0.5829 MB / 0.6855 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.6505, allocations: 339.3 kB / 0.6858 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.6505, allocations: 0 / 0.6858 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.275/0.9256, allocations: 29.85 MB / 0.715 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.84, allocations: 8.766 kB / 0.715 GB, free: 196.2 MB / 0.5294 GB " [Timeout remaining time 645] (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: 17.54888399783522] Failed to read output from testmodel.py, exit status != 0: 14.985603000037372 14.998569264 14.435543126 Calling exit ...