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.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.001397/0.001397, 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.001631/0.001631, allocations: 223.6 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.525/1.525, allocations: 230.6 MB / 256.8 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.004311/0.004311, allocations: 0.5692 MB / 313.8 MB, free: 2.336 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.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.91 kB / 435.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1054, allocations: 53.53 MB / 489.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.427/0.5324, allocations: 158.2 MB / 0.6324 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008842/0.5412, allocations: 2.988 MB / 0.6353 GB, free: 9.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.5424, allocations: 31.69 kB / 0.6354 GB, free: 9.195 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.5444, allocations: 389.5 kB / 0.6357 GB, free: 8.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006553/0.5509, allocations: 1.655 MB / 0.6374 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.5547, allocations: 1.123 MB / 0.6385 GB, free: 6.039 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.5587, allocations: 2.427 MB / 0.6408 GB, free: 3.605 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.56, allocations: 0.5143 MB / 0.6413 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.563, allocations: 1.032 MB / 0.6423 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.5649, allocations: 0.7745 MB / 0.6431 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003719/0.5653, allocations: 80 kB / 0.6432 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.5681, allocations: 0.8688 MB / 0.644 GB, free: 332 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00066/0.5688, allocations: 331 kB / 0.6443 GB, free: 0 / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.5699, allocations: 422.4 kB / 0.6447 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.5744, allocations: 1.709 MB / 0.6464 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5744, allocations: 0 / 0.6464 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5744, allocations: 0 / 0.6464 GB, free: 13.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.216e-05/0.5744, allocations: 0 / 0.6464 GB, free: 13.87 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.003865/0.5783, allocations: 1.248 MB / 0.6476 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5783, allocations: 8.031 kB / 0.6476 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.205e-05/0.5784, allocations: 18 kB / 0.6477 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.5785, allocations: 126.5 kB / 0.6478 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5797, allocations: 179.3 kB / 0.6479 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5809, allocations: 0.5323 MB / 0.6485 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.5812, allocations: 279.6 kB / 0.6487 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.5814, allocations: 75.97 kB / 0.6488 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.5835, allocations: 1.484 MB / 0.6503 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.5836, allocations: 11.94 kB / 0.6503 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.5837, allocations: 28 kB / 0.6503 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/0.5837, allocations: 37.25 kB / 0.6503 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.5852, allocations: 0.7816 MB / 0.6511 GB, free: 8.754 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.006321/0.5915, allocations: 4.615 MB / 0.6556 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.5923, allocations: 370.9 kB / 0.656 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.5926, allocations: 222 kB / 0.6562 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.5928, allocations: 35.92 kB / 0.6562 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.5929, allocations: 46.5 kB / 0.6562 GB, free: 3.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.475e-06/0.5929, allocations: 0 / 0.6562 GB, free: 3.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.007719/0.6006, allocations: 2.181 MB / 0.6584 GB, free: 1.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.6007, allocations: 111.3 kB / 0.6585 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6017, allocations: 0.6876 MB / 0.6592 GB, free: 236 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.6018, allocations: 41.64 kB / 0.6592 GB, free: 188 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.6022, allocations: 475.5 kB / 0.6596 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.6024, allocations: 214.2 kB / 0.6598 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.6027, allocations: 234.8 kB / 0.6601 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.603, allocations: 378.8 kB / 0.6604 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.6035, allocations: 286.5 kB / 0.6607 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.6045, allocations: 0.8131 MB / 0.6615 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/0.6213, allocations: 3.033 MB / 0.6645 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.6213, allocations: 7.938 kB / 0.6645 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002439/0.6238, allocations: 1.259 MB / 0.6657 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.6238, allocations: 12 kB / 0.6657 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.6239, allocations: 16 kB / 0.6657 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.6259, allocations: 477.6 kB / 0.6662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.6265, allocations: 183.7 kB / 0.6664 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.6281, allocations: 1.116 MB / 0.6674 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.6289, allocations: 36 kB / 0.6675 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.6291, allocations: 103.9 kB / 0.6676 GB, free: 7.055 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.0005753/0.6296, allocations: 289.3 kB / 0.6679 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.6298, allocations: 80.41 kB / 0.6679 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.6323, allocations: 1.199 MB / 0.6691 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6323, allocations: 11.94 kB / 0.6691 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6323, allocations: 0 / 0.6691 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.6323, allocations: 3.984 kB / 0.6691 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.6355, allocations: 1.59 MB / 0.6707 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.6355, allocations: 4 kB / 0.6707 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.6358, allocations: 95.89 kB / 0.6708 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.6373, allocations: 284.4 kB / 0.671 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.6374, allocations: 27.98 kB / 0.6711 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.6385, allocations: 0.845 MB / 0.6719 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6385, allocations: 0 / 0.6719 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.6407, allocations: 1.134 MB / 0.673 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.6411, allocations: 143.5 kB / 0.6731 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.6412, allocations: 12 kB / 0.6731 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.6417, allocations: 19.98 kB / 0.6732 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.6418, allocations: 52.42 kB / 0.6732 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6419, allocations: 59.97 kB / 0.6733 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006961/0.6426, allocations: 475 kB / 0.6737 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6426, allocations: 0 / 0.6737 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001387/0.644, allocations: 359.4 kB / 0.6741 GB, free: 268 kB / 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.00343/0.6474, allocations: 1.946 MB / 0.676 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.6492, allocations: 0.7486 MB / 0.6767 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6492, allocations: 7.938 kB / 0.6767 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.65, allocations: 323.2 kB / 0.677 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.652, allocations: 403.8 kB / 0.6774 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.6641, allocations: 7.602 MB / 0.6848 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.6646, allocations: 405.3 kB / 0.6852 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001362/0.666, allocations: 0.5603 MB / 0.6858 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/0.6666, allocations: 343.2 kB / 0.6861 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.6666, allocations: 0 / 0.6861 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3249/0.9915, allocations: 30.32 MB / 0.7157 GB, free: 196.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.97, allocations: 8.406 kB / 0.7157 GB, free: 196.5 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.879825114971027] Failed to read output from testmodel.py, exit status != 0: 16.157197495922446 16.172168087 15.594764464 Calling exit ...