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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 107.3 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00277/0.00277, allocations: 0.5646 MB / 303.2 MB, free: 9.215 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001806/0.001806, allocations: 71.83 kB / 421.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07919/0.08099, allocations: 52.29 MB / 473.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.3905/0.4715, allocations: 179.9 MB / 0.6384 GB, free: 320 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005755/0.4773, allocations: 3.179 MB / 0.6415 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.4779, allocations: 23.81 kB / 0.6415 GB, free: 13.1 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.479, allocations: 409.5 kB / 0.6419 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.483, allocations: 1.616 MB / 0.6435 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.4859, allocations: 1.111 MB / 0.6446 GB, free: 9.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.4889, allocations: 2.396 MB / 0.6469 GB, free: 7.578 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008563/0.4898, allocations: 0.541 MB / 0.6474 GB, free: 7.027 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.4916, allocations: 1.012 MB / 0.6484 GB, free: 6.012 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.4928, allocations: 0.7745 MB / 0.6492 GB, free: 5.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.493, allocations: 80 kB / 0.6493 GB, free: 5.156 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.4953, allocations: 1.049 MB / 0.6503 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.4956, allocations: 335 kB / 0.6506 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006239/0.4963, allocations: 489.8 kB / 0.6511 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.499, allocations: 1.744 MB / 0.6528 GB, free: 1.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.499, allocations: 0 / 0.6528 GB, free: 1.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.499, allocations: 0 / 0.6528 GB, free: 1.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.499, allocations: 4 kB / 0.6528 GB, free: 1.543 MB / 478.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.002702/0.5017, allocations: 1.324 MB / 0.6541 GB, free: 168 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5018, allocations: 15.88 kB / 0.6541 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.502, allocations: 122.5 kB / 0.6542 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.503, allocations: 183.2 kB / 0.6544 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.5042, allocations: 0.5863 MB / 0.655 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.5044, allocations: 180.8 kB / 0.6551 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.5045, allocations: 71.95 kB / 0.6552 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.5062, allocations: 1.09 MB / 0.6563 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.5062, allocations: 11.94 kB / 0.6563 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/0.5063, allocations: 28 kB / 0.6563 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.984e-05/0.5064, allocations: 45.23 kB / 0.6563 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.5077, allocations: 0.7777 MB / 0.6571 GB, free: 12.89 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.006585/0.5143, allocations: 5.703 MB / 0.6627 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.515, allocations: 384.1 kB / 0.663 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.5153, allocations: 216.4 kB / 0.6632 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.5156, allocations: 263.3 kB / 0.6635 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.5156, allocations: 42.59 kB / 0.6635 GB, free: 5.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/0.5156, allocations: 0 / 0.6635 GB, free: 5.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.006915/0.5226, allocations: 2.264 MB / 0.6657 GB, free: 3.516 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.5226, allocations: 107.4 kB / 0.6658 GB, free: 3.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/0.5235, allocations: 0.6799 MB / 0.6665 GB, free: 2.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.5236, allocations: 37.7 kB / 0.6665 GB, free: 2.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.5239, allocations: 471.5 kB / 0.667 GB, free: 2.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.5241, allocations: 218.2 kB / 0.6672 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.5245, allocations: 234.8 kB / 0.6674 GB, free: 1.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.5247, allocations: 394.7 kB / 0.6678 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.5252, allocations: 278.5 kB / 0.6681 GB, free: 1.074 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008913/0.526, allocations: 0.7591 MB / 0.6688 GB, free: 84 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/0.5415, allocations: 3.114 MB / 0.6719 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5415, allocations: 7.938 kB / 0.6719 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002188/0.5437, allocations: 1.261 MB / 0.6731 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.5437, allocations: 12 kB / 0.6731 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.5437, allocations: 16 kB / 0.6731 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.5455, allocations: 472.9 kB / 0.6736 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.5461, allocations: 183.7 kB / 0.6737 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.5476, allocations: 1.116 MB / 0.6748 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.5482, allocations: 51.97 kB / 0.6749 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.5483, allocations: 95.98 kB / 0.675 GB, free: 9.48 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.0004939/0.5488, allocations: 293.3 kB / 0.6753 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.549, allocations: 83.48 kB / 0.6753 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.5513, allocations: 1.197 MB / 0.6765 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5513, allocations: 8 kB / 0.6765 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.5513, allocations: 3.938 kB / 0.6765 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5513, allocations: 7.969 kB / 0.6765 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.5546, allocations: 1.966 MB / 0.6784 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5546, allocations: 4 kB / 0.6784 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.5549, allocations: 91.89 kB / 0.6785 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.5564, allocations: 291.8 kB / 0.6788 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.5564, allocations: 27.98 kB / 0.6788 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.5574, allocations: 0.8449 MB / 0.6797 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5574, allocations: 0 / 0.6797 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.5595, allocations: 1.132 MB / 0.6808 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.56, allocations: 220.5 kB / 0.681 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.5601, allocations: 19.94 kB / 0.681 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.5605, allocations: 23.98 kB / 0.681 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.5606, allocations: 52.45 kB / 0.6811 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/0.5607, allocations: 63.97 kB / 0.6811 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006198/0.5613, allocations: 471 kB / 0.6816 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5613, allocations: 0 / 0.6816 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001181/0.5625, allocations: 347.6 kB / 0.6819 GB, free: 2.137 MB / 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.003294/0.5658, allocations: 1.956 MB / 0.6838 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.5674, allocations: 0.7535 MB / 0.6846 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.5674, allocations: 3.859 kB / 0.6846 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007961/0.5682, allocations: 331.9 kB / 0.6849 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.5701, allocations: 404.7 kB / 0.6853 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.5811, allocations: 7.601 MB / 0.6927 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.5818, allocations: 0.9868 MB / 0.6937 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001366/0.5832, allocations: 0.5726 MB / 0.6942 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/0.5838, allocations: 335.3 kB / 0.6945 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/0.5838, allocations: 3.938 kB / 0.6945 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2338/0.8175, allocations: 29.89 MB / 0.7237 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.89, allocations: 4.812 kB / 0.7237 GB, free: 204.9 MB / 0.5294 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.30691298097372] Failed to read output from testmodel.py, exit status != 0: 13.996524755842984 14.013629627 13.511497841 Calling exit ...