Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.001622/0.001622, allocations: 104.6 kB / 16.45 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.001779/0.001779, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.332/1.332, 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.002728/0.002728, allocations: 0.5654 MB / 303.2 MB, free: 9.211 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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 71.89 kB / 421.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08925, allocations: 52.29 MB / 473.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.00172/0.09097, allocations: 0.5847 MB / 474.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.09117, allocations: 51.86 kB / 474.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.09121, allocations: 0 / 474.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.09123, allocations: 3.938 kB / 474.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.0913, allocations: 3.938 kB / 474.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.0914, allocations: 19.89 kB / 474.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.352e-05/0.09149, allocations: 47.84 kB / 474.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.839e-05/0.09155, allocations: 8 kB / 474.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.09159, allocations: 23.92 kB / 474.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.637e-05/0.09167, allocations: 35.81 kB / 474.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.09169, allocations: 4 kB / 474.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.0917, allocations: 4 kB / 474.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.09172, allocations: 4 kB / 474.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.09175, allocations: 27.86 kB / 474.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.379e-05/0.09184, allocations: 36.03 kB / 474.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09184, allocations: 0 / 474.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09184, allocations: 0 / 474.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.09185, allocations: 0 / 474.6 MB, free: 4.086 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00054/0.09239, allocations: 379.3 kB / 475 MB, free: 3.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.09243, allocations: 11.89 kB / 475 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.09247, allocations: 38.75 kB / 475.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.0925, allocations: 8.891 kB / 475.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.09266, allocations: 176.2 kB / 475.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.09267, allocations: 4.375 kB / 475.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.0927, allocations: 8.375 kB / 475.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.09282, allocations: 70.23 kB / 475.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.09283, allocations: 3.938 kB / 475.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.09285, allocations: 4 kB / 475.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.09285, allocations: 0 / 475.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.09293, allocations: 39.97 kB / 475.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.09343, allocations: 313 kB / 475.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.09371, allocations: 114.5 kB / 475.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.09376, allocations: 24.86 kB / 475.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.09378, allocations: 4 kB / 475.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.0938, allocations: 30.56 kB / 475.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.09381, allocations: 0 / 475.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003212/0.09702, allocations: 0.85 MB / 476.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.09707, allocations: 55.39 kB / 476.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.09716, allocations: 109.8 kB / 476.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.09719, allocations: 33.69 kB / 476.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.09725, allocations: 88.09 kB / 477 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.0973, allocations: 59.52 kB / 477 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.09737, allocations: 45.66 kB / 477.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.09751, allocations: 326.8 kB / 477.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.09759, allocations: 39.98 kB / 477.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.09767, allocations: 53.7 kB / 477.5 MB, free: 0.9531 MB / 334.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.1001, allocations: 484 kB / 478 MB, free: 488 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1001, allocations: 0 / 478 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001435/0.1016, allocations: 328.5 kB / 478.3 MB, free: 152 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1016, allocations: 4 kB / 478.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1016, allocations: 0 / 478.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.1033, allocations: 264.6 kB / 478.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.1034, allocations: 15.94 kB / 478.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.1067, allocations: 1.956 MB / 480.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.1068, allocations: 0 / 480.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1068, allocations: 4.062 kB / 480.5 MB, free: 13.77 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.E1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.107, allocations: 123.5 kB / 480.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1071, allocations: 11.89 kB / 480.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.1071, allocations: 24.48 kB / 480.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1071, allocations: 4 kB / 480.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1071, allocations: 0 / 480.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1071, allocations: 0 / 480.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.1074, allocations: 201.6 kB / 480.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1074, allocations: 4 kB / 480.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.1074, allocations: 11.98 kB / 480.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00179/0.1092, allocations: 280.5 kB / 481.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1092, allocations: 0 / 481.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.1115, allocations: 1.936 MB / 483.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1115, allocations: 48 / 483.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1125, allocations: 411.9 kB / 483.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.1126, allocations: 81.06 kB / 483.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1126, allocations: 16.06 kB / 483.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1127, allocations: 0 / 483.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1128, allocations: 12.02 kB / 483.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1128, allocations: 12 kB / 483.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.354e-05/0.1128, allocations: 87.27 kB / 483.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1128, allocations: 0 / 483.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.1131, allocations: 36 kB / 483.7 MB, free: 10.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * 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 (8): * Single equations (assignments): 7 * 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): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.1144, allocations: 0.9338 MB / 484.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007789/0.1152, allocations: 318.3 kB / 485 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1152, allocations: 3.938 kB / 485 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.1156, allocations: 226.8 kB / 485.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1158, allocations: 8.078 kB / 485.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.1199, allocations: 2.025 MB / 487.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1202, allocations: 0.7007 MB / 487.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.1202, allocations: 4.562 kB / 488 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.1203, allocations: 27.42 kB / 488 MB, free: 5.902 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1203, allocations: 0 / 488 MB, free: 5.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.1503, allocations: 3.809 MB / 491.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.94, allocations: 20.62 kB / 491.8 MB, free: 2.34 MB / 350.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.3101348541677] Failed to read output from testmodel.py, exit status != 0: 12.038047020789236 12.061717128 11.965663154 Calling exit ...