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.001385/0.001385, allocations: 109.4 kB / 15.69 MB, free: 128 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.00171/0.001711, allocations: 186.5 kB / 16.62 MB, free: 6.582 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.329/1.329, allocations: 222.9 MB / 240.3 MB, free: 4.293 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.00305/0.00305, allocations: 0.5623 MB / 291 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.002231, allocations: 59.91 kB / 351.8 MB, free: 2.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1286, allocations: 49.59 MB / 401.4 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.179/0.3077, allocations: 0.5749 MB / 402 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002036/0.308, allocations: 50.38 kB / 402 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.308, allocations: 0 / 402 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.3081, allocations: 3.938 kB / 402 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.3081, allocations: 6.312 kB / 402 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.759e-05/0.3082, allocations: 11.91 kB / 402.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.3083, allocations: 55.39 kB / 402.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.3084, allocations: 4.234 kB / 402.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.3084, allocations: 26.67 kB / 402.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.3085, allocations: 30.73 kB / 402.2 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3086, allocations: 3.406 kB / 402.2 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.3086, allocations: 3.969 kB / 402.2 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.3086, allocations: 15.22 kB / 402.2 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.3086, allocations: 20.7 kB / 402.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.111e-05/0.3087, allocations: 36.55 kB / 402.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3087, allocations: 2.969 kB / 402.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3088, allocations: 0 / 402.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3088, allocations: 0 / 402.2 MB, free: 10.36 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.0004409/0.3092, allocations: 372.4 kB / 402.6 MB, free: 9.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3093, allocations: 14.67 kB / 402.6 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.3093, allocations: 38.56 kB / 402.7 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.3093, allocations: 7.906 kB / 402.7 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.3094, allocations: 173.9 kB / 402.8 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3095, allocations: 12.59 kB / 402.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3095, allocations: 9.406 kB / 402.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3096, allocations: 67.78 kB / 402.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3096, allocations: 3.938 kB / 402.9 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3097, allocations: 5.047 kB / 402.9 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3097, allocations: 4.844 kB / 402.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/0.3098, allocations: 41.61 kB / 403 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.3102, allocations: 307.2 kB / 403.3 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3106, allocations: 105.5 kB / 403.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.3107, allocations: 35.67 kB / 403.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3107, allocations: 5.188 kB / 403.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3108, allocations: 33.05 kB / 403.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3108, allocations: 0 / 403.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003383/0.3142, allocations: 0.8555 MB / 404.3 MB, free: 9.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.3142, allocations: 54.22 kB / 404.4 MB, free: 8.977 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.3143, allocations: 110.2 kB / 404.5 MB, free: 8.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3143, allocations: 26.89 kB / 404.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.3144, allocations: 94.52 kB / 404.6 MB, free: 8.758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.3144, allocations: 60.72 kB / 404.7 MB, free: 8.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.3145, allocations: 31.94 kB / 404.7 MB, free: 8.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.3145, allocations: 323.6 kB / 405 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.3146, allocations: 43.03 kB / 405 MB, free: 8.383 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.3147, allocations: 59.78 kB / 405.1 MB, free: 8.367 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.002597/0.3173, allocations: 481 kB / 405.6 MB, free: 8.332 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3173, allocations: 4.797 kB / 405.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001501/0.3188, allocations: 326.2 kB / 405.9 MB, free: 8.238 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3188, allocations: 7.969 kB / 405.9 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3189, allocations: 2.094 kB / 405.9 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.3206, allocations: 263.6 kB / 406.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.3207, allocations: 16.86 kB / 406.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.3237, allocations: 1.939 MB / 408.1 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.3238, allocations: 6.719 kB / 408.1 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3238, allocations: 3.906 kB / 408.1 MB, free: 6.598 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.0001942/0.324, allocations: 130.4 kB / 408.3 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.3241, allocations: 11.58 kB / 408.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.3241, allocations: 18.28 kB / 408.3 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3241, allocations: 6.375 kB / 408.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.3241, allocations: 1.188 kB / 408.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3242, allocations: 5.078 kB / 408.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3243, allocations: 201.8 kB / 408.5 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3244, allocations: 0 / 408.5 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.3244, allocations: 11.05 kB / 408.5 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/0.3263, allocations: 279.2 kB / 408.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3263, allocations: 2.344 kB / 408.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.3282, allocations: 1.935 MB / 410.7 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3282, allocations: 1.984 kB / 410.7 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009818/0.3292, allocations: 407.5 kB / 411.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.3292, allocations: 80.61 kB / 411.2 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3292, allocations: 9.906 kB / 411.2 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3294, allocations: 1.312 kB / 411.2 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.3294, allocations: 19.23 kB / 411.2 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3294, allocations: 5.531 kB / 411.2 MB, free: 4.152 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.079e-05/0.3295, allocations: 86.91 kB / 411.3 MB, free: 4.074 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3295, allocations: 5.25 kB / 411.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000333/0.3298, allocations: 32.09 kB / 411.3 MB, free: 4.066 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.001251/0.3311, allocations: 0.9367 MB / 412.3 MB, free: 3.305 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007704/0.3318, allocations: 337.5 kB / 412.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3319, allocations: 0 / 412.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.3321, allocations: 220.8 kB / 412.8 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.3324, allocations: 10.25 kB / 412.8 MB, free: 2.957 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.3363, allocations: 2.027 MB / 414.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.3364, allocations: 0.7088 MB / 415.6 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.3365, allocations: 4.578 kB / 415.6 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.3365, allocations: 24.42 kB / 415.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3365, allocations: 0 / 415.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.3609, allocations: 3.75 MB / 419.4 MB, free: 284 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.7, allocations: 19.86 kB / 419.4 MB, free: 268 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)