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.001851/0.001851, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001524/0.001524, allocations: 219.2 kB / 23.03 MB, free: 4.945 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.002984/0.002984, allocations: 0.5729 MB / 313.8 MB, free: 2.406 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 63.89 kB / 435.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.124, allocations: 53.53 MB / 489.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.412/0.5359, allocations: 158.2 MB / 0.6324 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.5418, allocations: 2.985 MB / 0.6354 GB, free: 9.078 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007107/0.5425, allocations: 31.69 kB / 0.6354 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.5435, allocations: 389.5 kB / 0.6358 GB, free: 8.664 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.5478, allocations: 1.66 MB / 0.6374 GB, free: 7.004 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.5508, allocations: 1.123 MB / 0.6385 GB, free: 5.887 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003257/0.5541, allocations: 2.454 MB / 0.6409 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.5552, allocations: 0.5104 MB / 0.6414 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/0.5579, allocations: 1.036 MB / 0.6424 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.5594, allocations: 0.7862 MB / 0.6431 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.5596, allocations: 80 kB / 0.6432 GB, free: 1 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.562, allocations: 0.8621 MB / 0.6441 GB, free: 140 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.5625, allocations: 327.1 kB / 0.6444 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.5631, allocations: 422.3 kB / 0.6448 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.566, allocations: 1.713 MB / 0.6465 GB, free: 13.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.566, allocations: 4 kB / 0.6465 GB, free: 13.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.566, allocations: 0 / 0.6465 GB, free: 13.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.566, allocations: 0 / 0.6465 GB, free: 13.68 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.003028/0.5691, allocations: 1.241 MB / 0.6477 GB, free: 12.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.5691, allocations: 8.031 kB / 0.6477 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.235e-05/0.5692, allocations: 22 kB / 0.6477 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.5694, allocations: 130.5 kB / 0.6478 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.5705, allocations: 171.3 kB / 0.648 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5717, allocations: 0.5245 MB / 0.6485 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.5719, allocations: 295.6 kB / 0.6488 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5721, allocations: 68 kB / 0.6488 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.5742, allocations: 1.488 MB / 0.6503 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.5743, allocations: 3.938 kB / 0.6503 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.5744, allocations: 40 kB / 0.6503 GB, free: 9.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/0.5744, allocations: 41.17 kB / 0.6504 GB, free: 9.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.5758, allocations: 0.7816 MB / 0.6511 GB, free: 8.559 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.006259/0.5821, allocations: 4.631 MB / 0.6557 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/0.5828, allocations: 366.9 kB / 0.656 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.5832, allocations: 212.6 kB / 0.6562 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.5834, allocations: 39.92 kB / 0.6563 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.5834, allocations: 38.56 kB / 0.6563 GB, free: 3.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.494e-06/0.5834, allocations: 0 / 0.6563 GB, free: 3.09 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.01073/0.5941, allocations: 2.853 MB / 0.6591 GB, free: 200 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.5942, allocations: 111.3 kB / 0.6592 GB, free: 64 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009503/0.5952, allocations: 0.6839 MB / 0.6598 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/0.5952, allocations: 37.7 kB / 0.6599 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.5956, allocations: 471.4 kB / 0.6603 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.5958, allocations: 214.2 kB / 0.6605 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.5962, allocations: 242.7 kB / 0.6608 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.5964, allocations: 382.8 kB / 0.6611 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.5969, allocations: 282.5 kB / 0.6614 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.5979, allocations: 0.817 MB / 0.6622 GB, free: 12.68 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.01746/0.6154, allocations: 3.234 MB / 0.6654 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.6154, allocations: 4 kB / 0.6654 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002349/0.6177, allocations: 1.22 MB / 0.6666 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.6178, allocations: 12 kB / 0.6666 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.6178, allocations: 16 kB / 0.6666 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.6188, allocations: 269.5 kB / 0.6668 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.6195, allocations: 207.7 kB / 0.667 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.6206, allocations: 0.9066 MB / 0.6679 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.6214, allocations: 39.94 kB / 0.668 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.6215, allocations: 96.03 kB / 0.6681 GB, free: 6.422 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.0005479/0.6221, allocations: 301.3 kB / 0.6683 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.6223, allocations: 83.48 kB / 0.6684 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.6247, allocations: 1.193 MB / 0.6696 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6247, allocations: 8 kB / 0.6696 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.6247, allocations: 0 / 0.6696 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6247, allocations: 0 / 0.6696 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.6279, allocations: 1.594 MB / 0.6712 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6279, allocations: 4.156 kB / 0.6712 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.6282, allocations: 91.89 kB / 0.6712 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.6297, allocations: 284.4 kB / 0.6715 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.093e-05/0.6298, allocations: 31.92 kB / 0.6715 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.6309, allocations: 0.8439 MB / 0.6724 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6309, allocations: 4 kB / 0.6724 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.6331, allocations: 1.13 MB / 0.6735 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.6334, allocations: 147.6 kB / 0.6736 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.6336, allocations: 20 kB / 0.6736 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.6341, allocations: 19.98 kB / 0.6737 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.6342, allocations: 60.34 kB / 0.6737 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.6343, allocations: 63.91 kB / 0.6738 GB, free: 420 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006978/0.635, allocations: 471 kB / 0.6742 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.635, allocations: 0 / 0.6742 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001283/0.6363, allocations: 351.6 kB / 0.6746 GB, free: 15.61 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.003369/0.6396, allocations: 1.939 MB / 0.6765 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.6413, allocations: 0.7574 MB / 0.6772 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6413, allocations: 0 / 0.6772 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.6422, allocations: 327.5 kB / 0.6775 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.6441, allocations: 407 kB / 0.6779 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.6558, allocations: 7.519 MB / 0.6852 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.6563, allocations: 405.3 kB / 0.6856 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001403/0.6577, allocations: 0.5777 MB / 0.6862 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.6583, allocations: 343.3 kB / 0.6865 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.6583, allocations: 0 / 0.6865 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2873/0.9455, allocations: 29.8 MB / 0.7156 GB, free: 196.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.89, allocations: 10.64 kB / 0.7156 GB, free: 196.4 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.784381064004265] Failed to read output from testmodel.py, exit status != 0: 16.08812351198867 16.112764253 15.542188462 Calling exit ...