Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.00159/0.00159, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001511/0.001511, allocations: 212.4 kB / 22.24 MB, free: 4.859 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.46/1.46, allocations: 230.7 MB / 256 MB, free: 8.004 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.003389/0.003389, allocations: 0.5661 MB / 313 MB, free: 2.359 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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 71.83 kB / 435.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09339, allocations: 53.53 MB / 488.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001723/0.09511, allocations: 0.551 MB / 489.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.09533, allocations: 59.75 kB / 489.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.09537, allocations: 0 / 489.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.09538, allocations: 3.938 kB / 489.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.09546, allocations: 7.938 kB / 489.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.749e-05/0.09556, allocations: 11.97 kB / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.603e-05/0.09565, allocations: 51.83 kB / 489.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.0957, allocations: 0 / 489.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.09575, allocations: 23.92 kB / 489.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.161e-05/0.09583, allocations: 27.89 kB / 489.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.09585, allocations: 4 kB / 489.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.09586, allocations: 0 / 489.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.09589, allocations: 11.94 kB / 489.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.09592, allocations: 23.86 kB / 489.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.098e-05/0.09602, allocations: 40.09 kB / 489.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09602, allocations: 0 / 489.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.09602, allocations: 0 / 489.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.09603, allocations: 0 / 489.5 MB, free: 10.45 MB / 350.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.0005424/0.09657, allocations: 302.2 kB / 489.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.09661, allocations: 8.031 kB / 489.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.09665, allocations: 30.75 kB / 489.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.09668, allocations: 4.938 kB / 489.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.0968, allocations: 130.4 kB / 489.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.09682, allocations: 4.375 kB / 489.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.09684, allocations: 8.375 kB / 489.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.09698, allocations: 70.17 kB / 490 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.09699, allocations: 3.938 kB / 490 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.097, allocations: 4 kB / 490 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.09701, allocations: 0 / 490 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.047e-05/0.0971, allocations: 43.91 kB / 490.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.09762, allocations: 275.9 kB / 490.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.09793, allocations: 122.6 kB / 490.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.098, allocations: 40.84 kB / 490.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.09802, allocations: 0 / 490.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.09804, allocations: 38.56 kB / 490.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.09804, allocations: 0 / 490.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003552/0.1016, allocations: 0.8467 MB / 491.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1016, allocations: 59.31 kB / 491.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1017, allocations: 113.8 kB / 491.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1018, allocations: 29.7 kB / 491.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.1018, allocations: 88.47 kB / 491.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.1019, allocations: 71.36 kB / 491.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.1019, allocations: 33.72 kB / 491.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1021, allocations: 322.8 kB / 492.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1022, allocations: 39.98 kB / 492.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.1023, allocations: 67.56 kB / 492.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/0.105, allocations: 0.4903 MB / 492.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.105, allocations: 0 / 492.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009801/0.106, allocations: 278.1 kB / 492.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.106, allocations: 7.938 kB / 492.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.106, allocations: 0 / 492.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009412/0.1069, allocations: 164.7 kB / 493.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.107, allocations: 19.94 kB / 493.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/0.1099, allocations: 1.858 MB / 495 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.11, allocations: 8 kB / 495 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.11, allocations: 4 kB / 495 MB, free: 4.559 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: p1 = 1e5. 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 (13): * Single equations (assignments): 12 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.1102, allocations: 125.8 kB / 495.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.1102, allocations: 7.953 kB / 495.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.1103, allocations: 24.78 kB / 495.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1103, allocations: 192 / 495.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1103, allocations: 4 kB / 495.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1103, allocations: 7.969 kB / 495.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.1117, allocations: 0.5291 MB / 495.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1117, allocations: 0 / 495.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.1118, allocations: 12.05 kB / 495.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.1138, allocations: 292.5 kB / 496 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1138, allocations: 4 kB / 496 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.1166, allocations: 1.863 MB / 497.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1166, allocations: 0 / 497.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.1178, allocations: 439.8 kB / 498.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.1178, allocations: 15.92 kB / 498.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1178, allocations: 4 kB / 498.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1179, allocations: 4 kB / 498.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.118, allocations: 15.91 kB / 498.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.118, allocations: 8 kB / 498.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.684e-05/0.118, allocations: 87.27 kB / 498.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 4 kB / 498.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000367/0.1184, allocations: 36 kB / 498.5 MB, free: 0.8984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 8 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.1198, allocations: 0.9444 MB / 499.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008228/0.1207, allocations: 298.4 kB / 499.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1207, allocations: 3.938 kB / 499.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006036/0.1213, allocations: 254.5 kB / 499.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1215, allocations: 11.94 kB / 500 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.1249, allocations: 1.972 MB / 0.4902 GB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.954e-05/0.125, allocations: 83.81 kB / 0.4902 GB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.307e-05/0.125, allocations: 4.984 kB / 0.4902 GB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.1251, allocations: 27.42 kB / 0.4903 GB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1251, allocations: 0 / 0.4903 GB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.1679, allocations: 3.734 MB / 0.4939 GB, free: 9.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.71, allocations: 11.8 kB / 0.4939 GB, free: 9.578 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.336340740323067] Failed to read output from testmodel.py, exit status != 0: 11.826542884111404 12.021588864 11.922827583 Calling exit ...