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.002615/0.002615, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004147/0.004147, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.86/2.86, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.007144/0.007144, allocations: 0.5698 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.83 kB / 351.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2387, allocations: 49.59 MB / 401.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.004263/0.243, allocations: 0.5757 MB / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.459/0.7021, allocations: 41.38 kB / 401.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.7024, allocations: 0 / 401.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.7025, allocations: 3.938 kB / 401.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.7026, allocations: 8.828 kB / 401.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.7029, allocations: 15.75 kB / 401.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.7033, allocations: 45.81 kB / 401.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.7036, allocations: 7.141 kB / 401.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.7038, allocations: 25.28 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.704, allocations: 29.16 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-05/0.7042, allocations: 3.906 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.038e-05/0.7042, allocations: 3.219 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.7043, allocations: 14.98 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.7045, allocations: 28.38 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.7048, allocations: 31.03 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.7048, allocations: 0 / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.7048, allocations: 1.219 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.7049, allocations: 0 / 402.1 MB, free: 10.34 MB / 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.0009333/0.7058, allocations: 375.4 kB / 402.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001295/0.706, allocations: 16.64 kB / 402.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.7061, allocations: 48.53 kB / 402.5 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.7062, allocations: 12.75 kB / 402.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.7066, allocations: 177 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.7067, allocations: 6.688 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.7068, allocations: 6.547 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.7071, allocations: 70.72 kB / 402.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.7071, allocations: 4.969 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.7071, allocations: 4.547 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7072, allocations: 2.438 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.7073, allocations: 41.08 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.7079, allocations: 307.6 kB / 403.1 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.7087, allocations: 108.2 kB / 403.2 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.7089, allocations: 33.33 kB / 403.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.709, allocations: 1.25 kB / 403.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.709, allocations: 39.25 kB / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 4.739e-06/0.7091, allocations: 0 / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.005191/0.7143, allocations: 0.8488 MB / 404.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.7143, allocations: 54.25 kB / 404.2 MB, free: 8.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.7144, allocations: 113.5 kB / 404.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.7144, allocations: 28.33 kB / 404.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.7145, allocations: 94.08 kB / 404.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.7146, allocations: 59.38 kB / 404.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.7146, allocations: 33.75 kB / 404.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.7147, allocations: 322.7 kB / 404.8 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.7148, allocations: 40.41 kB / 404.9 MB, free: 8.371 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.7151, allocations: 62.86 kB / 404.9 MB, free: 8.352 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.003555/0.7187, allocations: 478.5 kB / 405.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.7187, allocations: 0 / 405.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00183/0.7206, allocations: 331.7 kB / 405.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.7207, allocations: 5.312 kB / 405.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.7207, allocations: 0 / 405.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.7232, allocations: 262.5 kB / 406 MB, free: 8.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.7234, allocations: 20.66 kB / 406 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00516/0.7286, allocations: 1.937 MB / 408 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.7289, allocations: 6 kB / 408 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.729, allocations: 3.781 kB / 408 MB, free: 6.625 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.000417/0.7294, allocations: 127.7 kB / 408.1 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.7295, allocations: 15.69 kB / 408.1 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.7295, allocations: 17.39 kB / 408.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7295, allocations: 2.562 kB / 408.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.7295, allocations: 1.906 kB / 408.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.7295, allocations: 0.7031 kB / 408.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.7298, allocations: 203.6 kB / 408.3 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7298, allocations: 0 / 408.3 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.7299, allocations: 14.48 kB / 408.3 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/0.7322, allocations: 275.3 kB / 408.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.7322, allocations: 6.125 kB / 408.6 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003561/0.7358, allocations: 1.942 MB / 410.6 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/0.7359, allocations: 0 / 410.6 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.7376, allocations: 417.2 kB / 411 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.7377, allocations: 84.39 kB / 411 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.7377, allocations: 9.125 kB / 411.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.7378, allocations: 1.812 kB / 411.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.738, allocations: 16.25 kB / 411.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.738, allocations: 6.188 kB / 411.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.7382, allocations: 91.89 kB / 411.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.7382, allocations: 0 / 411.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006084/0.7388, allocations: 32.75 kB / 411.2 MB, free: 4.094 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.002025/0.7409, allocations: 0.9315 MB / 412.1 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.7427, allocations: 339.9 kB / 412.5 MB, free: 3.145 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.7427, allocations: 0 / 412.5 MB, free: 3.145 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.7431, allocations: 217.4 kB / 412.7 MB, free: 2.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.7435, allocations: 15.14 kB / 412.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/0.7503, allocations: 2.014 MB / 414.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.7508, allocations: 0.7046 MB / 415.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.7509, allocations: 6.047 kB / 415.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.751, allocations: 24.25 kB / 415.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.751, allocations: 0 / 415.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06033/0.8114, allocations: 3.708 MB / 419.2 MB, free: 312 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/17.26, allocations: 11.12 kB / 419.2 MB, free: 300 kB / 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)