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.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.001404/0.001404, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001547/0.001547, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.481/1.481, 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.003258/0.003258, allocations: 0.5693 MB / 313.8 MB, free: 2.297 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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.91 kB / 435.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1311, allocations: 53.53 MB / 489.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.002669/0.1338, allocations: 0.5588 MB / 490 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.1341, allocations: 51.81 kB / 490 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.1342, allocations: 4 kB / 490 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.1342, allocations: 3.938 kB / 490 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.1343, allocations: 3.938 kB / 490 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.1344, allocations: 15.98 kB / 490.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1346, allocations: 51.81 kB / 490.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.1346, allocations: 4 kB / 490.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.1347, allocations: 23.92 kB / 490.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.896e-05/0.1348, allocations: 23.91 kB / 490.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1348, allocations: 4 kB / 490.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.1348, allocations: 8 kB / 490.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.1348, allocations: 19.91 kB / 490.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.1349, allocations: 19.86 kB / 490.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.135, allocations: 36.09 kB / 490.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.135, allocations: 4 kB / 490.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.135, allocations: 0 / 490.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.135, allocations: 0 / 490.3 MB, free: 10.41 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.0006422/0.1357, allocations: 298.2 kB / 490.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1357, allocations: 12.03 kB / 490.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.463e-05/0.1357, allocations: 4.188 kB / 490.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1358, allocations: 38.75 kB / 490.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1358, allocations: 8.875 kB / 490.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.136, allocations: 122.4 kB / 490.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.136, allocations: 8.375 kB / 490.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.136, allocations: 4.375 kB / 490.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1362, allocations: 69.98 kB / 490.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1362, allocations: 0 / 490.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1362, allocations: 4 kB / 490.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1362, allocations: 0 / 490.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1363, allocations: 43.92 kB / 490.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.137, allocations: 275.8 kB / 491.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1373, allocations: 98.53 kB / 491.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/0.1374, allocations: 32.84 kB / 491.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1374, allocations: 0 / 491.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.1374, allocations: 38.56 kB / 491.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.1374, allocations: 0 / 491.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003543/0.141, allocations: 0.7765 MB / 492.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.141, allocations: 51.41 kB / 492.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1412, allocations: 113.8 kB / 492.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1412, allocations: 33.64 kB / 492.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.1413, allocations: 84.14 kB / 492.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.1413, allocations: 55.48 kB / 492.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.1414, allocations: 37.7 kB / 492.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1416, allocations: 322.8 kB / 492.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.1417, allocations: 43.98 kB / 492.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1418, allocations: 65.62 kB / 492.9 MB, free: 7.586 MB / 350.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.003137/0.145, allocations: 483.2 kB / 493.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.145, allocations: 0 / 493.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001703/0.1467, allocations: 326 kB / 493.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1467, allocations: 8 kB / 493.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1467, allocations: 0 / 493.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.1485, allocations: 260.5 kB / 493.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1486, allocations: 16 kB / 493.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/0.1526, allocations: 1.85 MB / 495.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1527, allocations: 8.062 kB / 495.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1527, allocations: 4 kB / 495.8 MB, free: 4.527 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.0002844/0.153, allocations: 121.7 kB / 495.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.153, allocations: 7.953 kB / 495.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.116e-05/0.1531, allocations: 16.44 kB / 495.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1531, allocations: 0 / 495.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.1531, allocations: 4 kB / 495.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1531, allocations: 3.984 kB / 495.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.1534, allocations: 168.7 kB / 496.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1534, allocations: 0 / 496.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.1534, allocations: 12 kB / 496.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/0.1554, allocations: 272.5 kB / 496.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.1554, allocations: 11.98 kB / 496.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.1581, allocations: 1.82 MB / 498.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1581, allocations: 0 / 498.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.1593, allocations: 400.2 kB / 498.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.1593, allocations: 12.03 kB / 498.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1594, allocations: 3.938 kB / 498.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1595, allocations: 8 kB / 498.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1595, allocations: 11.97 kB / 498.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1595, allocations: 4 kB / 498.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.1596, allocations: 91.2 kB / 498.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1596, allocations: 0 / 498.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.16, allocations: 43.94 kB / 498.8 MB, free: 1.355 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.00159/0.1616, allocations: 0.9278 MB / 499.7 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009567/0.1625, allocations: 324.5 kB / 0.4883 GB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1625, allocations: 0 / 0.4883 GB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.1629, allocations: 222.5 kB / 0.4885 GB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.1632, allocations: 7.984 kB / 0.4885 GB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.1679, allocations: 2.039 MB / 0.4905 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1681, allocations: 95.75 kB / 0.4906 GB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.224e-05/0.1681, allocations: 4.5 kB / 0.4906 GB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.1682, allocations: 27.42 kB / 0.4906 GB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1682, allocations: 3.938 kB / 0.4906 GB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.201, allocations: 3.933 MB / 0.4945 GB, free: 9.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.68, allocations: 19.84 kB / 0.4945 GB, free: 9.824 MB / 366.1 MB " [Timeout remaining time 646] (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: 16.62254360294901] Failed to read output from testmodel.py, exit status != 0: 13.86294385092333 14.066362463 13.928316562 Calling exit ...