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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 188.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 0.57 MB / 290.7 MB, free: 1.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.89 kB / 351.2 MB, free: 2.539 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.127, allocations: 49.6 MB / 400.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.002318/0.1294, allocations: 0.63 MB / 401.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002934/0.1297, allocations: 43.86 kB / 401.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.1297, allocations: 0 / 401.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.1298, allocations: 7.938 kB / 401.4 MB, free: 224 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1299, allocations: 7.938 kB / 401.4 MB, free: 216 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.13, allocations: 7.984 kB / 401.5 MB, free: 208 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1301, allocations: 55.83 kB / 401.5 MB, free: 152 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.714e-05/0.1302, allocations: 11.92 kB / 401.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.1303, allocations: 19.92 kB / 401.5 MB, free: 120 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.1304, allocations: 31.84 kB / 401.6 MB, free: 88 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1304, allocations: 4 kB / 401.6 MB, free: 84 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.1304, allocations: 4 kB / 401.6 MB, free: 80 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.1304, allocations: 7.984 kB / 401.6 MB, free: 72 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.1305, allocations: 31.84 kB / 401.6 MB, free: 40 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1306, allocations: 31.84 kB / 401.7 MB, free: 8 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.1306, allocations: 0 / 401.7 MB, free: 8 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1306, allocations: 0 / 401.7 MB, free: 8 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1307, allocations: 0 / 401.7 MB, free: 8 kB / 286.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.1967/0.3274, allocations: 366.6 kB / 402 MB, free: 10.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3275, allocations: 13.77 kB / 402 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.3275, allocations: 39.91 kB / 402.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.3275, allocations: 8.906 kB / 402.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3277, allocations: 177.8 kB / 402.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3277, allocations: 5.719 kB / 402.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.3277, allocations: 8.938 kB / 402.3 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3279, allocations: 68.64 kB / 402.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3279, allocations: 5.031 kB / 402.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3279, allocations: 6.672 kB / 402.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3279, allocations: 1.406 kB / 402.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.328, allocations: 38.64 kB / 402.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.3285, allocations: 311.3 kB / 402.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.3288, allocations: 106.4 kB / 402.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.3288, allocations: 37.61 kB / 402.8 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3289, allocations: 1.5 kB / 402.8 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.3289, allocations: 35.66 kB / 402.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 2.285e-06/0.3289, allocations: 3.844 kB / 402.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003251/0.3322, allocations: 0.86 MB / 403.7 MB, free: 9.676 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.3322, allocations: 54.02 kB / 403.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/0.3323, allocations: 115.2 kB / 403.9 MB, free: 9.516 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3323, allocations: 26.8 kB / 403.9 MB, free: 9.484 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.3323, allocations: 93.33 kB / 404 MB, free: 9.395 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.3324, allocations: 51.94 kB / 404.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.3324, allocations: 37.88 kB / 404.1 MB, free: 9.348 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.3325, allocations: 324.3 kB / 404.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.3326, allocations: 44.22 kB / 404.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.3327, allocations: 56.69 kB / 404.5 MB, free: 9.012 MB / 286.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.002479/0.3351, allocations: 487.7 kB / 405 MB, free: 8.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3352, allocations: 0 / 405 MB, free: 8.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001445/0.3366, allocations: 331.1 kB / 405.3 MB, free: 8.887 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3366, allocations: 8.141 kB / 405.3 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3366, allocations: 0 / 405.3 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.3384, allocations: 260.6 kB / 405.6 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.3385, allocations: 16.52 kB / 405.6 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.3414, allocations: 1.959 MB / 407.5 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.3415, allocations: 3.875 kB / 407.5 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3415, allocations: 8.141 kB / 407.6 MB, free: 7.234 MB / 286.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.0001798/0.3417, allocations: 118 kB / 407.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.3418, allocations: 12.34 kB / 407.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.3418, allocations: 18.48 kB / 407.7 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3418, allocations: 1.438 kB / 407.7 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3418, allocations: 1.906 kB / 407.7 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3418, allocations: 5.891 kB / 407.7 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.342, allocations: 199.8 kB / 407.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.342, allocations: 0 / 407.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.3421, allocations: 14.36 kB / 407.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.3439, allocations: 274.7 kB / 408.2 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.344, allocations: 6.484 kB / 408.2 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.3458, allocations: 1.936 MB / 410.1 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.3458, allocations: 0.7031 kB / 410.1 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3468, allocations: 410.1 kB / 410.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.3469, allocations: 88.34 kB / 410.6 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3469, allocations: 5.734 kB / 410.6 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.347, allocations: 1.344 kB / 410.6 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.3471, allocations: 20.72 kB / 410.6 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3471, allocations: 3.594 kB / 410.6 MB, free: 4.801 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.3471, allocations: 88.7 kB / 410.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3471, allocations: 0 / 410.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.3474, allocations: 36.75 kB / 410.8 MB, free: 4.715 MB / 286.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.001187/0.3486, allocations: 0.9335 MB / 411.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007873/0.3494, allocations: 335.7 kB / 412 MB, free: 3.773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3494, allocations: 0 / 412 MB, free: 3.773 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.3498, allocations: 226.3 kB / 412.3 MB, free: 3.617 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.35, allocations: 6.375 kB / 412.3 MB, free: 3.613 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.3539, allocations: 2.031 MB / 414.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.3541, allocations: 0.7042 MB / 415 MB, free: 1.434 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.913e-05/0.3541, allocations: 8.984 kB / 415 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.3542, allocations: 25.34 kB / 415 MB, free: 1.41 MB / 286.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3542, allocations: 0 / 415 MB, free: 1.41 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3772, allocations: 3.646 MB / 418.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.3774, allocations: 327 kB / 419 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.248, allocations: 4.188 kB / 419 MB, free: 0.6523 MB / 286.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)