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.000989/0.0009889, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01047/0.01047, allocations: 173 kB / 16.26 MB, free: 6.613 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.106/2.106, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.003042/0.003042, allocations: 0.554 MB / 292 MB, free: 1.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005039, allocations: 12 kB / 353.4 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3376, allocations: 50.57 MB / 404 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.0006966/0.3384, allocations: 305.9 kB / 404.3 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001859/0.3386, allocations: 50.28 kB / 404.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.3386, allocations: 0 / 404.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.3386, allocations: 7.781 kB / 404.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.3387, allocations: 2.094 kB / 404.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.236e-05/0.3388, allocations: 10.52 kB / 404.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.3389, allocations: 50.11 kB / 404.4 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.339, allocations: 4.219 kB / 404.4 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.339, allocations: 24.94 kB / 404.4 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.3391, allocations: 32.55 kB / 404.4 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3391, allocations: 3.281 kB / 404.4 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.3392, allocations: 3.312 kB / 404.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.3392, allocations: 17.78 kB / 404.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.3392, allocations: 48.34 kB / 404.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.492e-05/0.3393, allocations: 33.8 kB / 404.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3393, allocations: 1.156 kB / 404.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3393, allocations: 0 / 404.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3394, allocations: 0 / 404.6 MB, free: 9.516 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.0004272/0.3398, allocations: 362.7 kB / 404.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3398, allocations: 13.81 kB / 404.9 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.3399, allocations: 38.47 kB / 405 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.3399, allocations: 12.12 kB / 405 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.34, allocations: 170 kB / 405.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3401, allocations: 10.25 kB / 405.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.3401, allocations: 13.28 kB / 405.2 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.3402, allocations: 67.84 kB / 405.2 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3402, allocations: 5.594 kB / 405.2 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3403, allocations: 3.188 kB / 405.2 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3403, allocations: 1.906 kB / 405.2 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.3404, allocations: 45.48 kB / 405.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.3408, allocations: 301 kB / 405.6 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.3411, allocations: 106.6 kB / 405.7 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.3412, allocations: 39.69 kB / 405.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.3412, allocations: 1.344 kB / 405.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.3412, allocations: 36.34 kB / 405.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.3412, allocations: 1 kB / 405.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003348/0.3446, allocations: 0.8691 MB / 406.6 MB, free: 8.199 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3446, allocations: 56.2 kB / 406.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.3447, allocations: 108.3 kB / 406.8 MB, free: 8.039 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3447, allocations: 30.2 kB / 406.8 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.3448, allocations: 89.95 kB / 406.9 MB, free: 7.922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.3448, allocations: 55.48 kB / 407 MB, free: 7.887 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.3448, allocations: 22.86 kB / 407 MB, free: 7.871 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.3449, allocations: 323.3 kB / 407.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.345, allocations: 43.81 kB / 407.3 MB, free: 7.551 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/0.3451, allocations: 57.3 kB / 407.4 MB, free: 7.535 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.002821/0.3479, allocations: 0.4966 MB / 407.9 MB, free: 7.496 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3479, allocations: 0 / 407.9 MB, free: 7.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001532/0.3495, allocations: 322.4 kB / 408.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3495, allocations: 7.062 kB / 408.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3495, allocations: 1.625 kB / 408.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.3515, allocations: 278.4 kB / 408.5 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.3516, allocations: 18.55 kB / 408.5 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.3547, allocations: 1.813 MB / 410.3 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.3548, allocations: 3.766 kB / 410.3 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3548, allocations: 4.594 kB / 410.3 MB, free: 6.098 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 sytem: $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.0001553/0.355, allocations: 117 kB / 410.4 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.355, allocations: 11.66 kB / 410.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.3551, allocations: 27.73 kB / 410.5 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3551, allocations: 10.56 kB / 410.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.3551, allocations: 1.75 kB / 410.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3551, allocations: 0.5156 kB / 410.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3553, allocations: 196 kB / 410.7 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3553, allocations: 1.531 kB / 410.7 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.3554, allocations: 9.172 kB / 410.7 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/0.3575, allocations: 295.8 kB / 411 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.3575, allocations: 8.875 kB / 411 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.3598, allocations: 1.749 MB / 412.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3598, allocations: 0.9375 kB / 412.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.361, allocations: 418.1 kB / 413.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.3611, allocations: 84.45 kB / 413.2 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3611, allocations: 6.172 kB / 413.2 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3612, allocations: 1.438 kB / 413.2 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.3613, allocations: 16.77 kB / 413.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3613, allocations: 4.219 kB / 413.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.3613, allocations: 96.73 kB / 413.3 MB, free: 3.984 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3613, allocations: 0 / 413.3 MB, free: 3.984 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.3617, allocations: 33.09 kB / 413.4 MB, free: 3.98 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.001442/0.3632, allocations: 0.9466 MB / 414.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000884/0.3641, allocations: 320.4 kB / 414.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3641, allocations: 1.188 kB / 414.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.3645, allocations: 227.8 kB / 414.9 MB, free: 2.879 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.3647, allocations: 7.641 kB / 414.9 MB, free: 2.875 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00485/0.3696, allocations: 2.048 MB / 416.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3699, allocations: 0.7045 MB / 417.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.3699, allocations: 5.75 kB / 417.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.37, allocations: 25.03 kB / 417.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of SimCode: time 2.876e-06/0.37, allocations: 0 / 417.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4338/0.8038, allocations: 3.416 MB / 421.1 MB, free: 356 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.8041, allocations: 325.1 kB / 421.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.724, allocations: 2.922 kB / 421.4 MB, free: 15.96 MB / 302.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)