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.001458/0.001458, 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.001652/0.001652, allocations: 215.9 kB / 22.25 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.789 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.00449/0.00449, allocations: 0.5851 MB / 313 MB, free: 2.301 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.001973/0.001973, allocations: 63.91 kB / 435.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09929, 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.4676/0.5669, allocations: 158.3 MB / 0.6318 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007346/0.5742, allocations: 2.982 MB / 0.6347 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.5754, allocations: 35.69 kB / 0.6347 GB, free: 9.062 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.577, allocations: 385.5 kB / 0.6351 GB, free: 8.684 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005758/0.5828, allocations: 1.659 MB / 0.6367 GB, free: 7.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.5861, allocations: 1.113 MB / 0.6378 GB, free: 5.914 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003584/0.5897, allocations: 2.446 MB / 0.6402 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.5908, allocations: 0.5221 MB / 0.6407 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.5932, allocations: 1.036 MB / 0.6417 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.5947, allocations: 0.7628 MB / 0.6425 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.595, allocations: 76 kB / 0.6425 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.5975, allocations: 0.8464 MB / 0.6434 GB, free: 208 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006028/0.5981, allocations: 323.1 kB / 0.6437 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009584/0.5991, allocations: 426.2 kB / 0.6441 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003715/0.6028, allocations: 1.709 MB / 0.6457 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6028, allocations: 0 / 0.6457 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6028, allocations: 0 / 0.6457 GB, free: 13.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.835e-05/0.6028, allocations: 4 kB / 0.6458 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.003431/0.6063, allocations: 1.248 MB / 0.647 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.6063, allocations: 12.03 kB / 0.647 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.6065, allocations: 118.5 kB / 0.6471 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.6077, allocations: 175.3 kB / 0.6473 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.6089, allocations: 0.5323 MB / 0.6478 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.6092, allocations: 283.6 kB / 0.6481 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.6093, allocations: 71.98 kB / 0.6481 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.6114, allocations: 1.484 MB / 0.6496 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.6114, allocations: 7.938 kB / 0.6496 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.6115, allocations: 35.98 kB / 0.6496 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.6115, allocations: 33.3 kB / 0.6496 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.613, allocations: 0.7855 MB / 0.6504 GB, free: 8.652 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.006618/0.6196, allocations: 4.622 MB / 0.6549 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.6204, allocations: 377.8 kB / 0.6553 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.6208, allocations: 210.8 kB / 0.6555 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.6209, allocations: 36.06 kB / 0.6555 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.621, allocations: 42.5 kB / 0.6556 GB, free: 3.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.845e-06/0.621, allocations: 4 kB / 0.6556 GB, free: 3.184 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.01096/0.6319, allocations: 2.841 MB / 0.6583 GB, free: 304 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.6321, allocations: 115.3 kB / 0.6585 GB, free: 164 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.6332, allocations: 0.7069 MB / 0.6591 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/0.6333, allocations: 37.7 kB / 0.6592 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.6337, allocations: 483.4 kB / 0.6596 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.634, allocations: 210.3 kB / 0.6598 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.6343, allocations: 226.8 kB / 0.6601 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.6346, allocations: 390.7 kB / 0.6604 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.6351, allocations: 278.5 kB / 0.6607 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.6362, allocations: 0.8248 MB / 0.6615 GB, free: 12.75 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.01638/0.6526, allocations: 3.232 MB / 0.6647 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.6526, allocations: 8 kB / 0.6647 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002314/0.6549, allocations: 1.213 MB / 0.6658 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.655, allocations: 12 kB / 0.6659 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.655, allocations: 16 kB / 0.6659 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009441/0.6559, allocations: 276.6 kB / 0.6661 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.6566, allocations: 211.8 kB / 0.6663 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.6577, allocations: 0.9103 MB / 0.6672 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.6584, allocations: 39.94 kB / 0.6673 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.6585, allocations: 96.53 kB / 0.6674 GB, free: 6.488 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.0005054/0.659, allocations: 293.3 kB / 0.6676 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.6592, allocations: 79.53 kB / 0.6677 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.6617, allocations: 1.202 MB / 0.6689 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.6617, allocations: 11.94 kB / 0.6689 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6617, allocations: 0 / 0.6689 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.6617, allocations: 3.984 kB / 0.6689 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.665, allocations: 1.594 MB / 0.6705 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.665, allocations: 0 / 0.6705 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.6654, allocations: 95.89 kB / 0.6706 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.6669, allocations: 291.5 kB / 0.6708 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.667, allocations: 27.98 kB / 0.6709 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.668, allocations: 0.8371 MB / 0.6717 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.668, allocations: 0 / 0.6717 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.6703, allocations: 1.126 MB / 0.6728 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.6707, allocations: 143.5 kB / 0.6729 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6708, allocations: 16 kB / 0.6729 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.6713, allocations: 19.98 kB / 0.6729 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.6714, allocations: 52.42 kB / 0.673 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-05/0.6715, allocations: 59.97 kB / 0.6731 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006483/0.6721, allocations: 482.9 kB / 0.6735 GB, free: 36 kB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6721, allocations: 0 / 0.6735 GB, free: 36 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001254/0.6734, allocations: 351.6 kB / 0.6738 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.00334/0.6767, allocations: 1.955 MB / 0.6758 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.6784, allocations: 0.7497 MB / 0.6765 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6784, allocations: 4 kB / 0.6765 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008733/0.6793, allocations: 327 kB / 0.6768 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.6816, allocations: 418.6 kB / 0.6772 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.694, allocations: 7.512 MB / 0.6845 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.6944, allocations: 397.4 kB / 0.6849 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001472/0.6959, allocations: 0.5829 MB / 0.6855 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/0.6965, allocations: 339.3 kB / 0.6858 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.6965, allocations: 0 / 0.6858 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2738/0.9704, allocations: 29.85 MB / 0.715 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.77, allocations: 19.06 kB / 0.715 GB, free: 196.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.518440008163452] Failed to read output from testmodel.py, exit status != 0: 14.911066465079784 14.924452577 14.319146384 Calling exit ...