Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.001826/0.001826, allocations: 110.5 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.001955/0.001955, 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.39/1.39, 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.002859/0.002859, allocations: 0.5652 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.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.83 kB / 421.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08488, allocations: 52.3 MB / 473.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001674/0.08655, allocations: 0.5708 MB / 474.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002117/0.08676, allocations: 51.8 kB / 474.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.08679, allocations: 0 / 474.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.08681, allocations: 3.938 kB / 474.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.775e-05/0.08689, allocations: 3.938 kB / 474.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.167e-05/0.08698, allocations: 11.97 kB / 474.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.237e-05/0.08706, allocations: 51.78 kB / 474.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.08711, allocations: 8 kB / 474.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.08714, allocations: 23.91 kB / 474.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.688e-05/0.08722, allocations: 35.83 kB / 474.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.08724, allocations: 0 / 474.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.08725, allocations: 4 kB / 474.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.08727, allocations: 8 kB / 474.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.08731, allocations: 19.86 kB / 474.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.0874, allocations: 40.03 kB / 474.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.08741, allocations: 0 / 474.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.08741, allocations: 0 / 474.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.08742, allocations: 0 / 474.6 MB, free: 4.094 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.0005122/0.08793, allocations: 375.3 kB / 475 MB, free: 3.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.08796, allocations: 11.97 kB / 475 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.08801, allocations: 38.75 kB / 475 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.08803, allocations: 8.891 kB / 475.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.08819, allocations: 180.2 kB / 475.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.0882, allocations: 4.375 kB / 475.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.08822, allocations: 8.375 kB / 475.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.08835, allocations: 70.23 kB / 475.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.08836, allocations: 3.938 kB / 475.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.08837, allocations: 0 / 475.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.08837, allocations: 4 kB / 475.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.08845, allocations: 39.91 kB / 475.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.08894, allocations: 321 kB / 475.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.0892, allocations: 102.5 kB / 475.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.08926, allocations: 28.86 kB / 475.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.08927, allocations: 4 kB / 475.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.0893, allocations: 38.48 kB / 475.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.133e-06/0.0893, allocations: 0 / 475.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003175/0.09248, allocations: 0.8498 MB / 476.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.09251, allocations: 51.41 kB / 476.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.0926, allocations: 109.8 kB / 476.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.09262, allocations: 29.7 kB / 476.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.09268, allocations: 88.09 kB / 477 MB, free: 1.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.09272, allocations: 55.52 kB / 477 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.09278, allocations: 45.66 kB / 477.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.09292, allocations: 330.7 kB / 477.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.09299, allocations: 39.98 kB / 477.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.09307, allocations: 56.8 kB / 477.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.09324, allocations: 105.7 kB / 477.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.09324, allocations: 3.938 kB / 477.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009141/0.09415, allocations: 262.1 kB / 477.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.09417, allocations: 6.812 kB / 477.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.09417, allocations: 4 kB / 477.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008822/0.09505, allocations: 152.7 kB / 478 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.09513, allocations: 20 kB / 478 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.09752, allocations: 1.94 MB / 480 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.09759, allocations: 4 kB / 480 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.0976, allocations: 4.047 kB / 480 MB, free: 14.32 MB / 350.1 MB 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001174/0.09772, allocations: 125.8 kB / 480.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.09776, allocations: 19.94 kB / 480.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.0978, allocations: 16.5 kB / 480.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.0978, allocations: 4 kB / 480.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.09781, allocations: 0 / 480.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.09781, allocations: 0 / 480.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.09803, allocations: 201.5 kB / 480.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.09803, allocations: 0 / 480.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.09809, allocations: 12 kB / 480.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.09989, allocations: 284.4 kB / 480.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.09991, allocations: 4 kB / 480.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.1022, allocations: 1.932 MB / 482.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1022, allocations: 0 / 482.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1032, allocations: 412.1 kB / 483 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.1033, allocations: 85.05 kB / 483 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1033, allocations: 3.938 kB / 483 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1034, allocations: 8 kB / 483.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1034, allocations: 11.98 kB / 483.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1034, allocations: 11.98 kB / 483.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.228e-05/0.1035, allocations: 87.28 kB / 483.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1035, allocations: 0 / 483.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.1038, allocations: 32 kB / 483.2 MB, free: 10.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p2,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.001336/0.1052, allocations: 0.9277 MB / 484.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.1057, allocations: 266.6 kB / 484.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1057, allocations: 0 / 484.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.106, allocations: 225.9 kB / 484.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1062, allocations: 8.812 kB / 484.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.1093, allocations: 1.904 MB / 486.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1096, allocations: 0.7006 MB / 487.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.081e-05/0.1096, allocations: 0.5625 kB / 487.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.1097, allocations: 31.42 kB / 487.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1097, allocations: 0 / 487.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.1384, allocations: 3.127 MB / 490.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.855/9.994, allocations: 23.67 kB / 490.4 MB, free: 3.727 MB / 350.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.391120380721986] Failed to read output from testmodel.py, exit status != 0: 10.072018061298877 10.085952567 9.995862724 Calling exit ...